You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rici Lake <ri...@ricilake.net> on 2005/04/18 03:53:12 UTC

Re: svn commit: r159941 - httpd/httpd/branches/simple-conf/Makefile.in

This didn't quite get it right, either. It will overwrite the .conf 
file unless the .conf file is httpd.conf (rather than <progname>.conf)

--- Makefile.in Sun Apr 17 20:51:18 2005
+++ Makefile.in.new     Sun Apr 17 20:51:50 2005
@@ -78,7 +78,7 @@
                 if [ "$$i" = "httpd.conf" ]; then \
                         file=`echo $$i|sed 
s/.*.conf/$(PROGRAM_NAME).conf/`; \
                 fi; \
-               if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
+               if test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
                         $(INSTALL_DATA) 
$(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \
                 fi; \
             done ; \


Re: svn commit: r159941 - httpd/httpd/branches/simple-conf/Makefile.in

Posted by Joshua Slive <jo...@slive.ca>.

Rici Lake wrote:
> This didn't quite get it right, either. It will overwrite the .conf file 
> unless the .conf file is httpd.conf (rather than <progname>.conf)
>

Thanks.  Committed.

Joshua.