msman.sh/Makefile

17 lines
368 B
Makefile
Raw Normal View History

2023-02-27 01:10:24 +01:00
# Simple makefile to create a tarball of the msman helper scripts
2023-02-27 01:05:14 +01:00
all:
2023-02-27 01:10:24 +01:00
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
rm -f msman-hepler.tar.gz