Improve Makefile
This commit is contained in:
parent
7a2fbb29e8
commit
066323ed77
2 changed files with 11 additions and 3 deletions
14
Makefile
14
Makefile
|
@ -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
BIN
msman-hepler.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in a new issue