From 744debbc79dfad57fdf2728cb18e8d317df5e7f5 Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Wed, 6 Apr 2016 16:32:31 +0200 Subject: Respect DESTDIR when installing Apache module Reviewed-by: Simo Sorce Close #78 --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 7edd028..d43897b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,8 +20,8 @@ mod_auth_gssapi_la_LDFLAGS = \ -export-symbols-regex auth_gssapi_module install-exec-local: - if test ! -d ${APXS_LIBEXECDIR}; then mkdir -p ${APXS_LIBEXECDIR}; fi - @APXS@ -i -S LIBEXECDIR=${APXS_LIBEXECDIR} mod_auth_gssapi.la + test -d $(DESTDIR)$(APXS_LIBEXECDIR) || mkdir -p $(DESTDIR)$(APXS_LIBEXECDIR) + @APXS@ -i -S LIBEXECDIR=$(DESTDIR)$(APXS_LIBEXECDIR) mod_auth_gssapi.la clean-local: rm -f mod_auth_gssapi.slo mod_auth_gssapi.la mod_auth_gssapi.lo .libs -- cgit