mirror of
https://github.com/NinjaCheetah/NUSGet.git
synced 2026-02-27 15:15:28 -05:00
Update makefile to fix installs on Linux, add uninstall option (#42)
Co-authored-by: Leart Dukaj <leartdukaj@tutanota.de>
This commit is contained in:
6
Makefile
6
Makefile
@@ -6,13 +6,17 @@ all:
|
|||||||
$(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet
|
$(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet
|
||||||
|
|
||||||
install:
|
install:
|
||||||
rm -rd /opt/NUSGet/
|
rm -rf /opt/NUSGet/
|
||||||
install -d /opt/NUSGet
|
install -d /opt/NUSGet
|
||||||
cp -r ./NUSGet.dist/* /opt/NUSGet/
|
cp -r ./NUSGet.dist/* /opt/NUSGet/
|
||||||
chmod 755 /opt/NUSGet/
|
chmod 755 /opt/NUSGet/
|
||||||
install ./packaging/icon.png /opt/NUSGet/NUSGet.png
|
install ./packaging/icon.png /opt/NUSGet/NUSGet.png
|
||||||
install ./packaging/NUSGet.desktop /usr/share/applications
|
install ./packaging/NUSGet.desktop /usr/share/applications
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf /opt/NUSGet
|
||||||
|
rm /usr/share/applications/NUSGet.desktop
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm NUSGet
|
rm NUSGet
|
||||||
rm -rd NUSGet.build/
|
rm -rd NUSGet.build/
|
||||||
|
|||||||
Reference in New Issue
Block a user