Proper handling of the tinyproxy.conf location within the source tree

(needed for make distcheck.)
This commit is contained in:
Robert James Kaes 2002-05-02 18:12:32 +00:00
parent 42ef3b86b6
commit 50058c1cab

View File

@ -3,10 +3,10 @@ SUBDIRS = src doc
install-data-local:
$(mkinstalldirs) $(DESTDIR)@TINYPROXY_CONFIG_DIR@
$(INSTALL) -m 600 doc/tinyproxy.conf \
$(INSTALL) -m 600 $(srcdir)/doc/tinyproxy.conf \
$(DESTDIR)@TINYPROXY_CONFIG_DIR@/@TINYPROXY_CONFIG_FILE@-dist
test ! -f $(DESTDIR)@TINYPROXY_CONFIG_DIR@/@TINYPROXY_CONFIG_FILE@ \
&& $(INSTALL) -m 600 doc/tinyproxy.conf \
&& $(INSTALL) -m 600 $(srcdir)/doc/tinyproxy.conf \
$(DESTDIR)@TINYPROXY_CONFIG_DIR@/@TINYPROXY_CONFIG_FILE@
@echo ""
@echo "A configuration file has been copied to:"