From c0c6db0a5e6efa3b2f3ba5c4ae45ce11cffb1857 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 10 Nov 2009 13:49:35 +0100 Subject: Update etc/Makefile.am to substitute TINYPROXY_STATHOST Maybe, it would be better to have a two stage process here: 1. Have AC_SUBST from configure substitute as many variables as possible in a fist stage tinyproxy.conf.tmpl.in --> tinyproxy.conf.tmp 2. Have make substitute those remaining paths that can not be substituted reasonable by configure due to the internal workings of automake. Michael --- etc/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/Makefile.am b/etc/Makefile.am index de5daf5..2178507 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -11,7 +11,8 @@ edit = sed \ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ -e 's|@localstatedir[@]|$(localstatedir)|g' \ -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \ - -e 's|@prefix[@]|$(prefix)|g' + -e 's|@prefix[@]|$(prefix)|g' \ + -e 's|@TINYPROXY_STATHOST[@]|$(TINYPROXY_STATHOST)|g' tinyproxy.conf: $(top_srcdir)/etc/tinyproxy.conf.in Makefile rm -f $@ $@.tmp -- cgit v1.2.3