Using os.path.basename() breaks files in subdirectories (gsubgpos-graph.cc instead of graph/gsubgpos-graph.cc). Use paths relative to current source dir instead.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3733