Add possibility to change install options

This closes #231
This commit is contained in:
Steffen Jaeckel 2017-06-19 10:34:02 +02:00
parent 66527b3e5e
commit b16066cbfc

View File

@ -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)