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. --- zebra/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zebra/Makefile.am') diff --git a/zebra/Makefile.am b/zebra/Makefile.am index d449fe16..6f8e9542 100644 --- a/zebra/Makefile.am +++ b/zebra/Makefile.am @@ -43,4 +43,6 @@ EXTRA_DIST = if_ioctl.c if_netlink.c if_proc.c if_sysctl.c \ # $(CC) -g -o client client_main.o ../lib/libzebra.a $(LIBS) $(LIB_IPV6) quaggaconfdir = $(sysconfdir) -dist_quaggaconf_DATA = zebra.conf.sample + +examplesdir = $(exampledir) +dist_examples_DATA = zebra.conf.sample -- cgit v1.2.1