zenigrub-custom/Makefile

47 lines
2.0 KiB
Makefile
Raw Normal View History

2021-03-27 17:35:18 +01:00
##############################
# Installing zenigrub-custom #
##############################
PREFIX=/usr
install:
mkdir -p /opt/zenigrub-custom
cp -rf src/zenigrub-custom /opt/zenigrub-custom/zenigrub-custom
2021-10-27 22:16:33 +02:00
cp -rf src/zenigrub-custom-cli /opt/zenigrub-custom/zenigrub-custom-cli
2021-03-27 17:35:18 +01:00
cp -rf src/zenigrub-custom-admin /opt/zenigrub-custom/zenigrub-custom-admin
cp -rf icon/zenigrub-custom.png /opt/zenigrub-custom/zenigrub-custom.png
2021-08-02 21:44:03 +02:00
cp -rf img/ /opt/zenigrub-custom/
2021-03-27 17:35:18 +01:00
cp -rf src/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop
2021-08-02 21:44:03 +02:00
rm -rf $(PREFIX)/bin/zenigrub-custom
2021-10-27 22:30:41 +02:00
rm -rf $(PREFIX)/bin/zenigrub-custom-cli
2021-03-27 17:35:18 +01:00
ln -s /opt/zenigrub-custom/zenigrub-custom $(PREFIX)/bin/zenigrub-custom
2021-10-27 22:16:33 +02:00
ln -s /opt/zenigrub-custom/zenigrub-custom-cli $(PREFIX)/bin/zenigrub-custom-cli
2021-03-27 17:35:18 +01:00
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
2021-10-27 22:16:33 +02:00
cp -rf src-ES/zenigrub-custom-cli /opt/zenigrub-custom/zenigrub-custom-cli
2021-03-27 17:35:18 +01:00
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
2021-08-02 21:44:03 +02:00
cp -rf img/ /opt/zenigrub-custom/
2021-03-27 17:35:18 +01:00
cp -rf src-ES/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop
2021-08-02 21:44:03 +02:00
rm -rf $(PREFIX)/bin/zenigrub-custom
2021-10-27 22:30:41 +02:00
rm -rf $(PREFIX)/bin/zenigrub-custom
2021-03-27 17:35:18 +01:00
ln -s /opt/zenigrub-custom/zenigrub-custom $(PREFIX)/bin/zenigrub-custom
2021-10-27 22:16:33 +02:00
ln -s /opt/zenigrub-custom/zenigrub-custom-cli $(PREFIX)/bin/zenigrub-custom-cli
2021-03-27 17:35:18 +01:00
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
2021-10-27 22:16:33 +02:00
rm -rf $(PREFIX)/bin/zenigrub-custom-cli
2021-03-27 17:35:18 +01:00
rm $(PREFIX)/share/applications/zenigrub-custom.desktop