diff options
author | Michael Adam <obnox@samba.org> | 2009-10-11 13:19:36 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-10-11 13:19:36 +0200 |
commit | 582a8dc62442bc334f0f298b26ec4f9ad1818a7b (patch) | |
tree | d098ff2cf49ae30ae68f23637b8925ad9d698b4e /etc | |
parent | 7b8171fe01209c497452ed28dbf12b624c91406c (diff) | |
download | tinyproxy-582a8dc62442bc334f0f298b26ec4f9ad1818a7b.tar.gz tinyproxy-582a8dc62442bc334f0f298b26ec4f9ad1818a7b.zip |
Fix make distcheck with tinyproxy.conf.in
(Fixes make install and out of tree builds)
Thanks to muks for the top_srcdir bit!
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile.am | 6 |
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 $@ |