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

View file

@ -1,7 +1,15 @@
# Simple makefile to create a tarball of the msman helper scripts
all: all:
cp -r .msman msman source msman.sh
tar -czf msman-hepler.tar.gz msman source .msman/version.sh
rm -rf msman 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: clean:
rm -rf msman rm -rf msman

BIN
msman-hepler.tar.gz Normal file

Binary file not shown.