summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Schridde <dennis.schridde@uni-heidelberg.de>2016-04-06 16:32:31 +0200
committerSimo Sorce <simo@redhat.com>2016-04-12 18:14:31 -0400
commit744debbc79dfad57fdf2728cb18e8d317df5e7f5 (patch)
treeea991d790a35e601fba8c9972d5288a3f70e016c
parentac42a2df226379e2be7d4604e612c4b068ae7269 (diff)
downloadmod_auth_gssapi-744debbc79dfad57fdf2728cb18e8d317df5e7f5.tar.gz
mod_auth_gssapi-744debbc79dfad57fdf2728cb18e8d317df5e7f5.tar.xz
mod_auth_gssapi-744debbc79dfad57fdf2728cb18e8d317df5e7f5.zip
Respect DESTDIR when installing Apache module
Reviewed-by: Simo Sorce <simo@redhat.com> Close #78
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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