summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/Makefile.am6
-rw-r--r--etc/tinyproxy.conf.in2
2 files changed, 5 insertions, 3 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am
index 9cf6d5c..57a5c01 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -1,4 +1,6 @@
-sysconf_DATA = \
+pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
+
+pkgsysconf_DATA = \
tinyproxy.conf
EXTRA_DIST = \
@@ -8,7 +10,7 @@ edit = sed \
-e 's|@bindir[@]|$(bindir)|g' \
-e 's|@datadir[@]|$(datadir)|g' \
-e 's|@datarootdir[@]|$(datarootdir)|g' \
- -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
+ -e 's|@pkgsysconfdir[@]|$(pkgsysconfdir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
-e 's|@prefix[@]|$(prefix)|g' \
diff --git a/etc/tinyproxy.conf.in b/etc/tinyproxy.conf.in
index e4eeb91..e24ad4a 100644
--- a/etc/tinyproxy.conf.in
+++ b/etc/tinyproxy.conf.in
@@ -236,7 +236,7 @@ ViaProxyName "tinyproxy"
#
# 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.