From b16066cbfc233d248edf54e2d1426ceb4af711da Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 19 Jun 2017 10:34:02 +0200 Subject: [PATCH] Add possibility to change install options This closes #231 --- makefile_include.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile_include.mk b/makefile_include.mk index 08086f5..3d7a021 100644 --- a/makefile_include.mk +++ b/makefile_include.mk @@ -357,11 +357,12 @@ doc/crypt.pdf: install_all: install install_bins install_docs install_test +INSTALL_OPTS ?= -m 644 .common_install: $(LIBNAME) install -d $(INCPATH) install -d $(LIBPATH) - $(INSTALL_CMD) -m 644 $(LIBNAME) $(LIBPATH)/$(LIBNAME) + $(INSTALL_CMD) $(INSTALL_OPTS) $(LIBNAME) $(LIBPATH)/$(LIBNAME) install -m 644 $(HEADERS) $(INCPATH) .common_install_bins: $(USEFUL_DEMOS)