diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 22:17:40 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 22:18:28 +0000 |
commit | e2954b8108a5bbb441d1c98fa4888ba62611432f (patch) | |
tree | 0ef05ce1d33e0ce081d2884457f51d69a3f90650 /Makefile | |
parent | 610a2894c08113a013e9e9b4a9b33f1ed19b3151 (diff) | |
download | imv-e2954b8108a5bbb441d1c98fa4888ba62611432f.tar.gz |
Provide default global config file
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,7 @@ PREFIX ?= /usr BINPREFIX ?= $(PREFIX)/bin MANPREFIX ?= $(PREFIX)/share/man DATAPREFIX ?= $(PREFIX)/share +CONFIGPREFIX ?= /etc CFLAGS ?= -W -Wall -pedantic -Wmissing-prototypes CFLAGS += -std=c99 @@ -52,8 +53,10 @@ install: $(TARGET) install -D -m 0755 $(TARGET) $(DESTDIR)$(BINPREFIX)/imv install -D -m 0644 doc/imv.1 $(DESTDIR)$(MANPREFIX)/man1/imv.1 install -D -m 0644 files/imv.desktop $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop + install -D -m 0644 files/imv_config $(DESTDIR)$(CONFIGPREFIX)/imv_config uninstall: $(RM) $(DESTDIR)$(BINPREFIX)/imv $(RM) $(DESTDIR)$(MANPREFIX)/man1/imv.1 $(RM) $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop + @echo "$(DESTDIR)$(CONFIGPREFIX)/imv_config has not been removed. Please remove it manually." |