summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9a0e338..e3460bf 100644
--- a/Makefile
+++ b/Makefile
@@ -16,3 +16,10 @@ $(gplay_objs): %.o: %.c
clean:
rm -f gplay *.o
+
+install: gplay
+ install gplay $(DESTDIR)/usr/bin/gplay
+ install gplay.desktop $(DESTDIR)/usr/share/applications/gplay.desktop
+
+uninstall:
+ rm -f $(DESTDIR)/usr/bin/gplay $(DESTDIR)/usr/share/applications/gplay.desktop