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 ; \


Reply via email to