Commit 7ea8e174 authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

* Makefile.in: Fix brokenness with VPATH builds as the .conf files do not exist

  in srcdir and sh panics; also fix one whitespace issue.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@188844 13f79535-47bb-0310-9956-ffa450edef68
parent a8cecac3
Loading
Loading
Loading
Loading
+2 −0
Changes for Makefile.in: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ install-conf:
	for j in $(top_srcdir)/docs/conf $(top_builddir)/docs/conf ; do \
	    cd $$j ; \
	    for i in httpd.conf extra/httpd-*.conf; do \
	    	if [ -f $$i ] ; then \
	    	( \
	    		n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \
	    		if test $$n_lm -eq 0 -o "x$(DSO_MODULES)" = "x"; then \
@@ -81,6 +82,7 @@ install-conf:
	    	if test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
	    		$(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \
	    	fi; \
	    	fi; \
	    done ; \
	done ; \
	if test -f "$(builddir)/envvars-std"; then \