Improve Makefile
This commit is contained in:
parent
7a2fbb29e8
commit
066323ed77
8
Makefile
8
Makefile
@ -1,7 +1,15 @@
|
|||||||
|
# Simple makefile to create a tarball of the msman helper scripts
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
source msman.sh
|
||||||
|
source .msman/version.sh
|
||||||
|
if [[ $CURRENT_SCRIPT_VERSION == $EXTRA_SCRIPTS_VERSION]]; then
|
||||||
cp -r .msman msman
|
cp -r .msman msman
|
||||||
tar -czf msman-hepler.tar.gz msman
|
tar -czf msman-hepler.tar.gz msman
|
||||||
rm -rf 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…
x
Reference in New Issue
Block a user