From 11d24cbe669b37ee7a126a66a6348b12f47ce476 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Sun, 25 Aug 2019 14:47:55 +0200 Subject: Add INSTALL_SCRIPT to install scripts It could be a distinct action to INSTALL_PROGRAM which might be overwritten to strip binaries. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5091474..9997316 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3