Add new Makefile target for release tarballs

This commit is contained in:
ISSOtm
2020-04-04 14:23:28 +02:00
parent 4e96cf9875
commit ced38bc6ee

View File

@@ -247,3 +247,11 @@ wine-shim:
$Qln -s rgbshim.sh rgblink
$Qln -s rgbshim.sh rgbfix
$Qln -s rgbshim.sh rgbgfx
# 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 ..