zenigrub-custom/Makefile
2021-03-27 17:35:18 +01:00

36 lines
1.5 KiB
Makefile

##############################
# Installing zenigrub-custom #
##############################
PREFIX=/usr
install:
mkdir -p /opt/zenigrub-custom
cp -rf src/zenigrub-custom /opt/zenigrub-custom/zenigrub-custom
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 src/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop
ln -s /opt/zenigrub-custom/zenigrub-custom $(PREFIX)/bin/zenigrub-custom
chmod +x $(PREFIX)/bin/zenigrub-custom
chmod +x /opt/zenigrub-custom/zenigrub-custom
chmod +x /opt/zenigrub-custom/zenigrub-custom-admin
chmod +x $(PREFIX)/share/applications/zenigrub-custom.desktop
install-es:
mkdir -p /opt/zenigrub-custom
cp -rf src-ES/zenigrub-custom /opt/zenigrub-custom/zenigrub-custom
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 src-ES/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop
ln -s /opt/zenigrub-custom/zenigrub-custom $(PREFIX)/bin/zenigrub-custom
chmod +x $(PREFIX)/bin/zenigrub-custom
chmod +x /opt/zenigrub-custom/zenigrub-custom
chmod +x /opt/zenigrub-custom/zenigrub-custom-admin
chmod +x $(PREFIX)/share/applications/zenigrub-custom.desktop
uninstall:
rm -rf /opt/zenigrub-custom
rm -rf $(PREFIX)/bin/zenigrub-custom
rm $(PREFIX)/share/applications/zenigrub-custom.desktop