From: Aaron Bannert Date: Tue, 16 Oct 2001 17:51:11 +0000 (+0000) Subject: In one target we weren't always creating the $libexecdir X-Git-Tag: 2.0.27~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e177d373be8b0572188c233bcf5bfceca9a6d0bb;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/build/special.mk b/build/special.mk index 2f27aa65084..cb3e8d1662b 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); \ diff --git a/support/Makefile.in b/support/Makefile.in index 20cdc156fb7..7cfddfbb9a3 100644 --- a/support/Makefile.in +++ b/support/Makefile.in @@ -13,6 +13,7 @@ include $(top_builddir)/build/rules.mk install: @test -d $(bindir) || $(MKINSTALLDIRS) $(bindir) + @test -d $(libexecdir) || $(MKINSTALLDIRS) $(libexecdir) @cp -p $(top_builddir)/server/httpd.exp $(libexecdir) @for i in apxs apachectl dbmmanage; do \ if test -f "$(builddir)/$$i"; then \