summaryrefslogtreecommitdiffhomepage
path: root/Makefile.am
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-05-10 19:53:03 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-05-10 19:53:03 +0000
commitf0b09906127b44b87c793a92aadd5dc41ac8e906 (patch)
treee18030ec2827f29c7cc4fe47f15a8dcda62508ac /Makefile.am
parent8e9fee2e10d98a9b84d7d1feb45908dd3084fb83 (diff)
Fixed up the installation of the tinyproxy.conf file. The file is only
installed if it doesn't already exist (rather than giving a make error.)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 62453c5..b7c3a5c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,8 +5,8 @@ install-data-local:
$(mkinstalldirs) $(DESTDIR)@TINYPROXY_CONFIG_DIR@
$(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 $(srcdir)/doc/tinyproxy.conf \
+ test -f $(DESTDIR)@TINYPROXY_CONFIG_DIR@/@TINYPROXY_CONFIG_FILE@ \
+ || $(INSTALL) -m 600 $(srcdir)/doc/tinyproxy.conf \
$(DESTDIR)@TINYPROXY_CONFIG_DIR@/@TINYPROXY_CONFIG_FILE@
@echo ""
@echo "A configuration file has been copied to:"