ref: 153915dc2ff73312354eab20f90f7558759c44bd
parent: ced38bc6ee1cacf6aea23d114ca45d4a48fbb5a5
author: ISSOtm <[email protected]>
date: Sat Apr 4 10:48:15 EDT 2020
Improve portability of new `make dist`
--- a/Makefile
+++ b/Makefile
@@ -251,7 +251,6 @@
# Target for the project maintainer to produce distributable release tarballs
# of the source code.
-RELEASE_ARCHIVE := rgbds-`git describe --tags --always 2>/dev/null`.tar.gz
dist:
- $Qgit ls-files -z | sed -z s~^~$${PWD##*/}/~ \
- | xargs -0 -- tar czf ${RELEASE_ARCHIVE} -C ..
+ $Qgit ls-files | sed s~^~$${PWD##*/}/~ \
+ | tar -czf rgbds-`git describe --tags | cut -c 2-`.tar.gz -C .. -T -