Update Makefile

This commit is contained in:
q3aql 2021-10-27 22:16:33 +02:00
parent 13173a4c6c
commit 080fcd3339

View File

@ -7,12 +7,14 @@ PREFIX=/usr
install: install:
mkdir -p /opt/zenigrub-custom mkdir -p /opt/zenigrub-custom
cp -rf src/zenigrub-custom /opt/zenigrub-custom/zenigrub-custom cp -rf src/zenigrub-custom /opt/zenigrub-custom/zenigrub-custom
cp -rf src/zenigrub-custom-cli /opt/zenigrub-custom/zenigrub-custom-cli
cp -rf src/zenigrub-custom-admin /opt/zenigrub-custom/zenigrub-custom-admin cp -rf src/zenigrub-custom-admin /opt/zenigrub-custom/zenigrub-custom-admin
cp -rf icon/zenigrub-custom.png /opt/zenigrub-custom/zenigrub-custom.png cp -rf icon/zenigrub-custom.png /opt/zenigrub-custom/zenigrub-custom.png
cp -rf img/ /opt/zenigrub-custom/ cp -rf img/ /opt/zenigrub-custom/
cp -rf src/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop cp -rf src/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop
rm -rf $(PREFIX)/bin/zenigrub-custom rm -rf $(PREFIX)/bin/zenigrub-custom
ln -s /opt/zenigrub-custom/zenigrub-custom $(PREFIX)/bin/zenigrub-custom ln -s /opt/zenigrub-custom/zenigrub-custom $(PREFIX)/bin/zenigrub-custom
ln -s /opt/zenigrub-custom/zenigrub-custom-cli $(PREFIX)/bin/zenigrub-custom-cli
chmod +x $(PREFIX)/bin/zenigrub-custom chmod +x $(PREFIX)/bin/zenigrub-custom
chmod +x /opt/zenigrub-custom/zenigrub-custom chmod +x /opt/zenigrub-custom/zenigrub-custom
chmod +x /opt/zenigrub-custom/zenigrub-custom-admin chmod +x /opt/zenigrub-custom/zenigrub-custom-admin
@ -21,12 +23,14 @@ install:
install-es: install-es:
mkdir -p /opt/zenigrub-custom mkdir -p /opt/zenigrub-custom
cp -rf src-ES/zenigrub-custom /opt/zenigrub-custom/zenigrub-custom cp -rf src-ES/zenigrub-custom /opt/zenigrub-custom/zenigrub-custom
cp -rf src-ES/zenigrub-custom-cli /opt/zenigrub-custom/zenigrub-custom-cli
cp -rf src-ES/zenigrub-custom-admin /opt/zenigrub-custom/zenigrub-custom-admin cp -rf src-ES/zenigrub-custom-admin /opt/zenigrub-custom/zenigrub-custom-admin
cp -rf icon/zenigrub-custom.png /opt/zenigrub-custom/zenigrub-custom.png cp -rf icon/zenigrub-custom.png /opt/zenigrub-custom/zenigrub-custom.png
cp -rf img/ /opt/zenigrub-custom/ cp -rf img/ /opt/zenigrub-custom/
cp -rf src-ES/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop cp -rf src-ES/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop
rm -rf $(PREFIX)/bin/zenigrub-custom rm -rf $(PREFIX)/bin/zenigrub-custom
ln -s /opt/zenigrub-custom/zenigrub-custom $(PREFIX)/bin/zenigrub-custom ln -s /opt/zenigrub-custom/zenigrub-custom $(PREFIX)/bin/zenigrub-custom
ln -s /opt/zenigrub-custom/zenigrub-custom-cli $(PREFIX)/bin/zenigrub-custom-cli
chmod +x $(PREFIX)/bin/zenigrub-custom chmod +x $(PREFIX)/bin/zenigrub-custom
chmod +x /opt/zenigrub-custom/zenigrub-custom chmod +x /opt/zenigrub-custom/zenigrub-custom
chmod +x /opt/zenigrub-custom/zenigrub-custom-admin chmod +x /opt/zenigrub-custom/zenigrub-custom-admin
@ -35,5 +39,6 @@ install-es:
uninstall: uninstall:
rm -rf /opt/zenigrub-custom rm -rf /opt/zenigrub-custom
rm -rf $(PREFIX)/bin/zenigrub-custom rm -rf $(PREFIX)/bin/zenigrub-custom
rm -rf $(PREFIX)/bin/zenigrub-custom-cli
rm $(PREFIX)/share/applications/zenigrub-custom.desktop rm $(PREFIX)/share/applications/zenigrub-custom.desktop