NUSGet/Makefile
NinjaCheetah 588b44381c
Install standalone instead of onefile when using make install
This makes the app load faster, because the current install setup makes using the compressed onefile over the standalone build pointless and wastes time on launch.
2024-12-22 21:52:20 -05:00

21 lines
473 B
Makefile

CC=python -m nuitka
ARCH_FLAGS?=
all:
python build_translations.py
$(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet
install:
rm -rd /opt/NUSGet/
install -d /opt/NUSGet
cp -r ./NUSGet.dist/* /opt/NUSGet/
chmod 755 /opt/NUSGet/
install ./packaging/icon.png /opt/NUSGet/NUSGet.png
install ./packaging/NUSGet.desktop /usr/share/applications
clean:
rm NUSGet
rm -rd NUSGet.build/
rm -rd NUSGet.dist/
rm -rd NUSGet.onefile-build/