summaryrefslogtreecommitdiffstats
path: root/build/special.mk
diff options
context:
space:
mode:
authorAaron Bannert <aaron@apache.org>2001-10-16 19:51:11 +0200
committerAaron Bannert <aaron@apache.org>2001-10-16 19:51:11 +0200
commite177d373be8b0572188c233bcf5bfceca9a6d0bb (patch)
tree809f26b3b77d86112b68094bbfe3b06ef57fe33b /build/special.mk
parent Ok... for now ssl-std.conf and proxy-std.conf stand, so here's the patch (diff)
downloadapache2-e177d373be8b0572188c233bcf5bfceca9a6d0bb.tar.xz
apache2-e177d373be8b0572188c233bcf5bfceca9a6d0bb.zip
In one target we weren't always creating the $libexecdir
($prefix/modules) directory, and in another we were assuming that the directory existed. Now we always create it in the first target, and we check that it exists in the second. This fixes a bug where httpd.exp would be installed as a _file_ called $prefix/modules. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91492 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/special.mk')
-rw-r--r--build/special.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/special.mk b/build/special.mk
index 2f27aa6508..cb3e8d1662 100644
--- a/build/special.mk
+++ b/build/special.mk
@@ -62,10 +62,10 @@ SHARED_TARGETS = $(shared)
INSTALL_TARGETS = install-modules
install-modules:
+ @test -d $(libexecdir) || $(MKINSTALLDIRS) $(libexecdir);
@builtin='$(BUILTIN_LIBS)'; \
has_mod_so=`echo $$builtin|sed 's/^.*mod_so.*$$/has_mod_so/'`; \
if [ "x$$has_mod_so" = "xhas_mod_so" ]; then \
- $(MKINSTALLDIRS) $(libexecdir); \
list='$(shared)'; \
for i in $$list; do \
$(SH_LIBTOOL) --mode=install cp $$i $(libexecdir); \