Improve Makefile

This commit is contained in:
Jiří Štefka 2023-02-27 01:10:24 +01:00
parent 7a2fbb29e8
commit 066323ed77
2 changed files with 11 additions and 3 deletions

@ -1,7 +1,15 @@
# Simple makefile to create a tarball of the msman helper scripts
all:
source msman.sh
source .msman/version.sh
if [[ $CURRENT_SCRIPT_VERSION == $EXTRA_SCRIPTS_VERSION]]; then
cp -r .msman msman
tar -czf msman-hepler.tar.gz msman
rm -rf msman
else
echo "msman.sh and .msman/version.sh are not in sync"
fi
clean:
rm -rf msman

BIN
msman-hepler.tar.gz Normal file

Binary file not shown.