mirror of
https://gitlab.manjaro.org/ste74/manjaro-iso-downloader.git
synced 2024-09-20 20:10:38 +02:00
makefile
Signed-off-by: Stefano Capitani <stefano@manjaro.org>
This commit is contained in:
parent
889bad74b7
commit
ea6a51f182
1 changed files with 18 additions and 0 deletions
18
Makefile
Normal file
18
Makefile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
APP = manjaro-iso-downloader
|
||||||
|
PREFIX = /usr
|
||||||
|
PATH = $(DESTDIR)$(PREFIX)/share/bin
|
||||||
|
PATHDESKTOP = $(DESTDIR)$(PREFIX)/share/applications
|
||||||
|
DEL = rm -f
|
||||||
|
INSTDESK = install -Dm644
|
||||||
|
INSTBIN = install -Dm755
|
||||||
|
|
||||||
|
install:
|
||||||
|
$(INSTBIN) $(PATH) $(APP).sh
|
||||||
|
$(INSTDESK) $(DPATH) $(APP).desktop
|
||||||
|
mv $(PATH)/$(APP).sh $(PATH)/$(APP)
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(DEL) $(PATH)/$(APP) $(DPATH)/$(APP).desktop
|
||||||
|
|
Loading…
Reference in a new issue