diff options
author | Michael Adam <obnox@samba.org> | 2009-11-10 13:49:35 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-11-10 13:58:08 +0100 |
commit | c0c6db0a5e6efa3b2f3ba5c4ae45ce11cffb1857 (patch) | |
tree | b74899f444b0635cddbb00e92be2b77a698b2615 | |
parent | 6f56738ab0557ec7c478dfa0c4eb21f86ce9e5a6 (diff) |
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
-rw-r--r-- | etc/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
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 |