diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-08-25 14:47:55 +0200 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-08-25 19:12:37 +0100 |
commit | 11d24cbe669b37ee7a126a66a6348b12f47ce476 (patch) | |
tree | d9f62a63577a0e4be42c9251b91e3bde6c75854e | |
parent | e3cf680b7d4b98051eeed3c2c923be17361f0c3a (diff) | |
download | imv-11d24cbe669b37ee7a126a66a6348b12f47ce476.tar.gz |
Add INSTALL_SCRIPT to install scripts
It could be a distinct action to INSTALL_PROGRAM which might be
overwritten to strip binaries.
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ CONFIGPREFIX ?= /etc INSTALL_DATA ?= install -m 0644 INSTALL_MAN ?= install -m 0644 INSTALL_PROGRAM ?= install -m 0755 +INSTALL_SCRIPT ?= install -m 0755 override CFLAGS += -std=c99 -W -Wall -Wpedantic -Wextra $(shell pkg-config --cflags pangocairo) override CPPFLAGS += -D_XOPEN_SOURCE=700 @@ -150,7 +151,7 @@ else ifeq ($(WINDOWS),x11) else ifeq ($(WINDOWS),all) $(INSTALL_PROGRAM) $(TARGET_WAYLAND) $(DESTDIR)$(BINPREFIX)/imv-wayland $(INSTALL_PROGRAM) $(TARGET_X11) $(DESTDIR)$(BINPREFIX)/imv-x11 - $(INSTALL_PROGRAM) files/imv $(DESTDIR)$(BINPREFIX)/imv + $(INSTALL_SCRIPT) files/imv $(DESTDIR)$(BINPREFIX)/imv endif $(INSTALL_PROGRAM) $(TARGET_MSG) $(DESTDIR)$(BINPREFIX)/imv-msg mkdir -p $(DESTDIR)$(MANPREFIX)/man1 |