summaryrefslogtreecommitdiff
path: root/ripngd/Makefile.am
diff options
context:
space:
mode:
authorgdt <gdt>2003-12-03 17:24:27 +0000
committergdt <gdt>2003-12-03 17:24:27 +0000
commitd6b72f7ab1d33a43e1b6d5cd3410ac53e3bf74a9 (patch)
treee2b2a025757c52802bc12a4b6b8eec94d4bcdd79 /ripngd/Makefile.am
parent6c110e700c21ef3d1d958da1df54261960d7ef07 (diff)
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 'ripngd/Makefile.am')
-rw-r--r--ripngd/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/ripngd/Makefile.am b/ripngd/Makefile.am
index 2e6c6774..ecd71f8a 100644
--- a/ripngd/Makefile.am
+++ b/ripngd/Makefile.am
@@ -19,5 +19,6 @@ ripngd_SOURCES = \
ripngd_LDADD = -L../lib -lzebra @LIBCAP@
-dist_sysconf_DATA = ripngd.conf.sample
+examplesdir = $(exampledir)
+dist_examples_DATA = ripngd.conf.sample