the config file name based on the executable name
(which doesn't seem like such a good idea in the
first case, but anyway....).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/simple-conf@159941
13f79535-47bb-0310-9956-
ffa450edef68
fi \
) > $(DESTDIR)$(sysconfdir)/original/$$i; \
chmod 0644 $(DESTDIR)$(sysconfdir)/original/$$i; \
+ file=$$i; \
if [ "$$i" = "httpd.conf" ]; then \
file=`echo $$i|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
fi; \
if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
- $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$i; \
+ $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \
fi; \
done ; \
done ; \