Bug #103: Move files installed in /etc/ to /etc/tinyproxy/

This commit is contained in:
Mukund Sivaraman 2011-08-23 14:46:04 +05:30
parent ec86c15d5a
commit 32563a4ed6
3 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,6 @@
sysconf_DATA = \ pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
pkgsysconf_DATA = \
tinyproxy.conf tinyproxy.conf
EXTRA_DIST = \ EXTRA_DIST = \
@ -8,7 +10,7 @@ edit = sed \
-e 's|@bindir[@]|$(bindir)|g' \ -e 's|@bindir[@]|$(bindir)|g' \
-e 's|@datadir[@]|$(datadir)|g' \ -e 's|@datadir[@]|$(datadir)|g' \
-e 's|@datarootdir[@]|$(datarootdir)|g' \ -e 's|@datarootdir[@]|$(datarootdir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \ -e 's|@pkgsysconfdir[@]|$(pkgsysconfdir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \ -e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \ -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
-e 's|@prefix[@]|$(prefix)|g' \ -e 's|@prefix[@]|$(prefix)|g' \

View File

@ -236,7 +236,7 @@ ViaProxyName "tinyproxy"
# #
# Filter: This allows you to specify the location of the filter file. # Filter: This allows you to specify the location of the filter file.
# #
#Filter "@sysconfdir@/filter" #Filter "@pkgsysconfdir@/filter"
# #
# FilterURLs: Filter based on URLs rather than domains. # FilterURLs: Filter based on URLs rather than domains.

View File

@ -15,10 +15,12 @@
# with this program; if not, write to the Free Software Foundation, Inc., # with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
sbin_PROGRAMS = tinyproxy sbin_PROGRAMS = tinyproxy
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-DSYSCONFDIR=\"${sysconfdir}\" \ -DSYSCONFDIR=\"${pkgsysconfdir}\" \
-DLOCALSTATEDIR=\"${localstatedir}\" -DLOCALSTATEDIR=\"${localstatedir}\"
tinyproxy_SOURCES = \ tinyproxy_SOURCES = \