Signed-off-by: Stefano Capitani <stefano@manjaro.org>
This commit is contained in:
Stefano Capitani 2022-11-06 16:59:10 +01:00
parent 889bad74b7
commit ea6a51f182

18
Makefile Normal file
View 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