From d6b72f7ab1d33a43e1b6d5cd3410ac53e3bf74a9 Mon Sep 17 00:00:00 2001 From: gdt Date: Wed, 3 Dec 2003 17:24:27 +0000 Subject: 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. --- ospfd/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ospfd/Makefile.am') diff --git a/ospfd/Makefile.am b/ospfd/Makefile.am index 93b80aed..f687ea9a 100644 --- a/ospfd/Makefile.am +++ b/ospfd/Makefile.am @@ -32,5 +32,6 @@ ospfd_LDADD = -L../lib -lzebra @LIBCAP@ EXTRA_DIST = OSPF-MIB.txt OSPF-TRAP-MIB.txt ChangeLog.opaque.txt -dist_sysconf_DATA = ospfd.conf.sample +examplesdir = $(exampledir) +dist_examples_DATA = ospfd.conf.sample -- cgit v1.2.1