summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-02-08 17:57:04 +0100
committerJavier <dev.git@javispedro.com>2015-02-08 17:57:04 +0100
commit1c9bbc863b363ef7387c583feade3a18da2ea4d3 (patch)
tree01bce2b360fa3846deef01eac8fd58f6249952b7 /Makefile
parent3ba697bf983b74e5bc046412764cf25ee5a593a8 (diff)
downloadgplay-1c9bbc863b363ef7387c583feade3a18da2ea4d3.tar.gz
gplay-1c9bbc863b363ef7387c583feade3a18da2ea4d3.zip
improve makefile install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e3460bf..572a842 100644
--- a/Makefile
+++ b/Makefile
@@ -18,8 +18,10 @@ clean:
rm -f gplay *.o
install: gplay
- install gplay $(DESTDIR)/usr/bin/gplay
- install gplay.desktop $(DESTDIR)/usr/share/applications/gplay.desktop
+ install -d $(DESTDIR)/usr/bin
+ install -m 0755 gplay $(DESTDIR)/usr/bin/gplay
+ install -d $(DESTDIR)/usr/share/applications
+ install -m 0644 gplay.desktop $(DESTDIR)/usr/share/applications/gplay.desktop
uninstall:
rm -f $(DESTDIR)/usr/bin/gplay $(DESTDIR)/usr/share/applications/gplay.desktop