Update Makefile
This commit is contained in:
parent
13173a4c6c
commit
080fcd3339
5
Makefile
5
Makefile
|
@ -7,12 +7,14 @@ PREFIX=/usr
|
|||
install:
|
||||
mkdir -p /opt/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 icon/zenigrub-custom.png /opt/zenigrub-custom/zenigrub-custom.png
|
||||
cp -rf img/ /opt/zenigrub-custom/
|
||||
cp -rf src/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop
|
||||
rm -rf $(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 /opt/zenigrub-custom/zenigrub-custom
|
||||
chmod +x /opt/zenigrub-custom/zenigrub-custom-admin
|
||||
|
@ -21,12 +23,14 @@ install:
|
|||
install-es:
|
||||
mkdir -p /opt/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 icon/zenigrub-custom.png /opt/zenigrub-custom/zenigrub-custom.png
|
||||
cp -rf img/ /opt/zenigrub-custom/
|
||||
cp -rf src-ES/zenigrub-custom.desktop $(PREFIX)/share/applications/zenigrub-custom.desktop
|
||||
rm -rf $(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 /opt/zenigrub-custom/zenigrub-custom
|
||||
chmod +x /opt/zenigrub-custom/zenigrub-custom-admin
|
||||
|
@ -35,5 +39,6 @@ install-es:
|
|||
uninstall:
|
||||
rm -rf /opt/zenigrub-custom
|
||||
rm -rf $(PREFIX)/bin/zenigrub-custom
|
||||
rm -rf $(PREFIX)/bin/zenigrub-custom-cli
|
||||
rm $(PREFIX)/share/applications/zenigrub-custom.desktop
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user