From 1c9bbc863b363ef7387c583feade3a18da2ea4d3 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 8 Feb 2015 17:57:04 +0100 Subject: improve makefile install --- Makefile | 6 ++++-- 1 file 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 -- cgit v1.2.3