Fix Makefile

This commit is contained in:
q3aql 2021-10-27 22:30:41 +02:00
parent 734a50df7e
commit 95af24c451
2 changed files with 20 additions and 10 deletions

View File

@ -13,6 +13,7 @@ install:
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
rm -rf $(PREFIX)/bin/zenigrub-custom-cli
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 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
@ -29,6 +30,7 @@ install-es:
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
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 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

View File

@ -1,12 +1,12 @@
zenigrub-custom - A simple GTK (Zenity) interface to edit basic settings of GRUB. zenigrub-custom - A simple GTK (Zenity) or CLI interface to edit basic settings of GRUB.
================================================================================= =========================================================================================
### Downloads: ### Downloads:
* [zenigrub-custom-1.5.tar.gz](https://github.com/q3aql/zenigrub-custom/releases/download/v1.5/zenigrub-custom-1.5.tar.gz) - Generic package (English + Spanish Languages). * [zenigrub-custom-1.6.tar.gz](https://github.com/q3aql/zenigrub-custom/releases/download/v1.6/zenigrub-custom-1.6.tar.gz) - Generic package (English + Spanish Languages).
* [zenigrub-custom-1.5-en.deb](https://github.com/q3aql/zenigrub-custom/releases/download/v1.5/zenigrub-custom-1.5-en.deb) - Debian based package (English version). * [zenigrub-custom-1.6-en.deb](https://github.com/q3aql/zenigrub-custom/releases/download/v1.6/zenigrub-custom-1.6-en.deb) - Debian based package (English version).
* [zenigrub-custom-1.5-en.rpm](https://github.com/q3aql/zenigrub-custom/releases/download/v1.5/zenigrub-custom-1.5-en.rpm) - RedHat/Fedora based package (English version). * [zenigrub-custom-1.6-en.rpm](https://github.com/q3aql/zenigrub-custom/releases/download/v1.6/zenigrub-custom-1.6-en.rpm) - RedHat/Fedora based package (English version).
* [zenigrub-custom-1.5-es.deb](https://github.com/q3aql/zenigrub-custom/releases/download/v1.5/zenigrub-custom-1.5-es.deb) - Debian based package (Spanish version). * [zenigrub-custom-1.6-es.deb](https://github.com/q3aql/zenigrub-custom/releases/download/v1.6/zenigrub-custom-1.6-es.deb) - Debian based package (Spanish version).
* [zenigrub-custom-1.5-es.rpm](https://github.com/q3aql/zenigrub-custom/releases/download/v1.5/zenigrub-custom-1.5-es.rpm) - RedHat/Fedora based package (Spanish version). * [zenigrub-custom-1.6-es.rpm](https://github.com/q3aql/zenigrub-custom/releases/download/v1.6/zenigrub-custom-1.6-es.rpm) - RedHat/Fedora based package (Spanish version).
_Dependencies: bash, coreutils, zenity, xterm, grep, sed_ _Dependencies: bash, coreutils, zenity, xterm, grep, sed_
@ -15,7 +15,7 @@ _Dependencies: bash, coreutils, zenity, xterm, grep, sed_
* Open terminal and run the following commands: * Open terminal and run the following commands:
```shell ```shell
$ tar zxvf zenigrub-custom-1.5.tar.gz $ tar zxvf zenigrub-custom-1.6.tar.gz
$ cd zenigrub-custom $ cd zenigrub-custom
$ sudo make install $ sudo make install
``` ```
@ -25,15 +25,23 @@ _Dependencies: bash, coreutils, zenity, xterm, grep, sed_
* Open terminal and run the following commands: * Open terminal and run the following commands:
```shell ```shell
$ tar zxvf zenigrub-custom-1.5.tar.gz $ tar zxvf zenigrub-custom-1.6.tar.gz
$ cd zenigrub-custom $ cd zenigrub-custom
$ sudo make install-es $ sudo make install-es
``` ```
### Images (Screenshots) ### Images (Screenshots - GUI Version)
<img src="https://raw.githubusercontent.com/q3aql/zenigrub-custom/main/img/zenigrub-image.png" width="876" /> <img src="https://raw.githubusercontent.com/q3aql/zenigrub-custom/main/img/zenigrub-image.png" width="876" />
### CLI Version:
* For use CLI version, open terminal and run the following command:
```shell
$ sudo zenigrub-custom-cli
```
### External links: ### External links:
* [zenity homepage](https://wiki.gnome.org/Projects/Zenity) * [zenity homepage](https://wiki.gnome.org/Projects/Zenity)