aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-08-12 01:01:18 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-08-12 01:01:18 +0100
commit4b9165a7f4f0461cdc16e95804c8ccc5cab50644 (patch)
tree7888b7a17580e6d9c53e2c2d8f213b35a432da38 /Makefile
parent324dbd7fb629b53ba71700efd8697ac93166d8e9 (diff)
downloadimv-4b9165a7f4f0461cdc16e95804c8ccc5cab50644.tar.gz
Fix install/uninstall rules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index bf1f8e1..e81eb47 100644
--- a/Makefile
+++ b/Makefile
@@ -134,15 +134,15 @@ doc/%: doc/%.txt
install: $(TARGETS) doc
mkdir -p $(DESTDIR)$(BINPREFIX)
- ifeq ($(WINDOWS),wayland)
+ifeq ($(WINDOWS),wayland)
$(INSTALL_PROGRAM) $(TARGET_WL) $(DESTDIR)$(BINPREFIX)/imv
- else ifeq ($(WINDOWS),x11)
+else ifeq ($(WINDOWS),x11)
$(INSTALL_PROGRAM) $(TARGET_X11) $(DESTDIR)$(BINPREFIX)/imv
- else ifeq ($(WINDOWS),all)
+else ifeq ($(WINDOWS),all)
$(INSTALL_PROGRAM) $(TARGET_WL) $(DESTDIR)$(BINPREFIX)/imv-wl
$(INSTALL_PROGRAM) $(TARGET_X11) $(DESTDIR)$(BINPREFIX)/imv-x11
$(INSTALL_PROGRAM) src/imv.sh $(DESTDIR)$(BINPREFIX)/imv
- endif
+endif
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
$(INSTALL_MAN) doc/imv.1 $(DESTDIR)$(MANPREFIX)/man1/imv.1
mkdir -p $(DESTDIR)$(MANPREFIX)/man5
@@ -153,10 +153,10 @@ install: $(TARGETS) doc
$(INSTALL_DATA) files/imv_config $(DESTDIR)$(CONFIGPREFIX)/imv_config
uninstall:
- ifeq ($(WINDOWS),all)
+ifeq ($(WINDOWS),all)
$(RM) $(DESTDIR)$(BINPREFIX)/imv-wl
$(RM) $(DESTDIR)$(BINPREFIX)/imv-x11
- endif
+endif
$(RM) $(DESTDIR)$(BINPREFIX)/imv
$(RM) $(DESTDIR)$(MANPREFIX)/man1/imv.1
$(RM) $(DESTDIR)$(MANPREFIX)/man5/imv.5