mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Improve portability of new make dist
This commit is contained in:
5
Makefile
5
Makefile
@@ -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 -
|
||||||
|
|||||||
Reference in New Issue
Block a user