Improve portability of new make dist

This commit is contained in:
ISSOtm
2020-04-04 14:48:15 +02:00
parent ced38bc6ee
commit 153915dc2f

View File

@@ -251,7 +251,6 @@ wine-shim:
# Target for the project maintainer to produce distributable release tarballs # Target for the project maintainer to produce distributable release tarballs
# of the source code. # of the source code.
RELEASE_ARCHIVE := rgbds-`git describe --tags --always 2>/dev/null`.tar.gz
dist: dist:
$Qgit ls-files -z | sed -z s~^~$${PWD##*/}/~ \ $Qgit ls-files | sed s~^~$${PWD##*/}/~ \
| xargs -0 -- tar czf ${RELEASE_ARCHIVE} -C .. | tar -czf rgbds-`git describe --tags | cut -c 2-`.tar.gz -C .. -T -