summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorgdt <gdt>2003-12-03 17:24:27 +0000
committergdt <gdt>2003-12-03 17:24:27 +0000
commit0b2f57a4f47bfd9bbc1a10e0678e7fcaa2ef0e60 (patch)
tree69cfc4d7c027c061f341433138b6641520a71595 /ripd
parent080d982903bf4620eccab29064a2cbb01ae113fa (diff)
downloadquagga-0b2f57a4f47bfd9bbc1a10e0678e7fcaa2ef0e60.tar.bz2
quagga-0b2f57a4f47bfd9bbc1a10e0678e7fcaa2ef0e60.tar.xz
Add support for --enable-exampledir to specify where to place example
files, defaulting to sysconfdir (matching previous behavior). This is needed to support (cleanly) NetBSD pkgsrc, which requires that example config files go in $(prefix)/share/examples/pkgname, rather than in $(prefix)/etc/pkgname.
Diffstat (limited to 'ripd')
-rw-r--r--ripd/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/ripd/Makefile.am b/ripd/Makefile.am
index ab631345..505f7b7c 100644
--- a/ripd/Makefile.am
+++ b/ripd/Makefile.am
@@ -19,7 +19,8 @@ ripd_SOURCES = \
ripd_LDADD = -L../lib -lzebra @LIBCAP@
-dist_sysconf_DATA = ripd.conf.sample
+examplesdir = $(exampledir)
+dist_examples_DATA = ripd.conf.sample
EXTRA_DIST = RIPv2-MIB.txt