elite-scripts/Makefile

23 lines
616 B
Makefile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

all: clean docs release
zipfile = elite-scripts.zip
clean:
rm -f $(zipfile)
docs:
bash generate_docs.sh
# 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
# probably wont work unless youre me :)
release: clean
rsync -avz gezocks:/mnt/d/git/elite-scripts/dist/ build/
cd build && zip -r ../$(zipfile) *