mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Add new Makefile target for release tarballs
This commit is contained in:
8
Makefile
8
Makefile
@@ -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 ..
|
||||
|
||||
Reference in New Issue
Block a user