Proper handling of the tinyproxy.conf location within the source tree
(needed for make distcheck.)
This commit is contained in:
parent
42ef3b86b6
commit
50058c1cab
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user