Change Makefile "selfex" target

This commit is contained in:
Sylvain Tricot 2019-11-17 23:28:53 +01:00
parent 3f2659780c
commit 9c4b3320e4
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ purge: clean
selfex: purge selfex: purge
@echo "Creating the self-extractible setup program... " @echo "Creating the self-extractible setup program... "
@cp ./src/msspec/version.py ./src/msspec/version.py.bak
@echo "__version__ = \"$(VERSION)\"" > ./src/msspec/version.py @echo "__version__ = \"$(VERSION)\"" > ./src/msspec/version.py
$(MAKESELF) --license "$(LICENSE)" ./src $(SETUPFILE) "Python MsSpec" ./install.sh $(MAKESELF) --license "$(LICENSE)" ./src $(SETUPFILE) "Python MsSpec" ./install.sh
@mv ./src/msspec/version.py.bak ./src/msspec/version.py