You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by aa...@apache.org on 2001/10/16 19:51:12 UTC

cvs commit: httpd-2.0/build special.mk

aaron       01/10/16 10:51:12

  Modified:    support  Makefile.in
               build    special.mk
  Log:
  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.
  
  Revision  Changes    Path
  1.27      +1 -0      httpd-2.0/support/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/Makefile.in,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Makefile.in	2001/10/12 18:23:19	1.26
  +++ Makefile.in	2001/10/16 17:51:11	1.27
  @@ -13,6 +13,7 @@
   
   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 \
  
  
  
  1.16      +1 -1      httpd-2.0/build/special.mk
  
  Index: special.mk
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/special.mk,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- special.mk	2001/09/13 20:54:33	1.15
  +++ special.mk	2001/10/16 17:51:11	1.16
  @@ -62,10 +62,10 @@
   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); \