summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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