summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am
index 9282d1b..fef4077 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -2,7 +2,7 @@ sysconf_DATA = \
tinyproxy.conf
EXTRA_DIST = \
- $(sysconf_DATA)
+ tinyproxy.conf.in
edit = sed \
-e 's|@bindir[@]|$(bindir)|g' \
@@ -13,8 +13,8 @@ edit = sed \
-e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
-e 's|@prefix[@]|$(prefix)|g'
-tinyproxy.conf: tinyproxy.conf.in
+tinyproxy.conf: $(top_srcdir)/etc/tinyproxy.conf.in Makefile
rm -f $@ $@.tmp
- $(edit) $@.in >$@.tmp
+ $(edit) $(top_srcdir)/etc/$@.in > $@.tmp
mv $@.tmp $@