aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2015-12-26 12:17:09 +0100
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2015-12-26 12:17:09 +0100
commit4263e95ae080dee60844c861f674473f64e73f7e (patch)
treec06f7a118fb991f00853cd719db9fac121482dda /Makefile
parent174b3a1a1a1158fef2e60510033e93b1abe7a35a (diff)
downloadimv-4263e95ae080dee60844c861f674473f64e73f7e.tar.gz
Make "uninstall" target remove the same files "install" installs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ca917af..244c384 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,6 @@ install: $(TARGET)
install -D -m 0644 files/imv.desktop $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop
uninstall:
- $(RM) $(DESTDIR)$(PREFIX)/bin/imv
- $(RM) $(DESTDIR)$(PREFIX)/share/man/man1/imv.1
- $(RM) $(DESTDIR)$(PREFIX)/share/applications/imv.desktop
+ $(RM) $(DESTDIR)$(BINPREFIX)/imv
+ $(RM) $(DESTDIR)$(MANPREFIX)/man1/imv.1
+ $(RM) $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop