elite-scripts/Makefile

24 lines
616 B
Makefile
Raw Normal View History

2020-06-19 23:23:58 +02:00
all: clean docs release
2019-11-12 10:31:51 +01:00
2020-01-08 15:04:05 +01:00
zipfile = elite-scripts.zip
clean:
rm -f $(zipfile)
2019-11-12 10:31:51 +01:00
docs:
bash generate_docs.sh
2019-09-18 14:06:28 +02:00
# requires a windows box
exe:
pip install --user --upgrade -r requirements.txt
pip install --user --upgrade -r pyEDSM\requirements.txt
python -OO -m PyInstaller --clean -yF edsm-getnearest.py
python -OO -m PyInstaller --clean -yF edts.py
python -OO -m PyInstaller --clean -yF explorationtools.py
python -OO -m PyInstaller --clean -yF spansh.py
2020-01-08 15:04:05 +01:00
2020-01-08 16:58:00 +01:00
# probably wont work unless youre me :)
2020-01-08 15:04:05 +01:00
release: clean
rsync -avz gezocks:/mnt/d/git/elite-scripts/dist/ build/
cd build && zip -r ../$(zipfile) *