summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorpaul <paul>2003-10-24 04:24:39 +0000
committerpaul <paul>2003-10-24 04:24:39 +0000
commit04bd484bf272dd580349c832f84cf5ffa27003bb (patch)
tree9f9c50fda664e0ce62d43af14ec7ec546f801547 /bgpd
parente92fbaf27ea028d4def1246b7fadb2096bfa4d8d (diff)
2003-10-24 Paul Jakma <paul@dishone.st>
* configure.ac: Check for fcntl() * {bgpd,ospf,ospf6d,ripd,ripngd}/Makefile.am: Install conf file via regular automake means, not magic install incantations, see bug #38. * lib/Makefile.am: install the headers, needed to link libzebra.a (and hence libospf.a, OSPF-API, etc.)
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/Makefile.am20
1 files changed, 4 insertions, 16 deletions
diff --git a/bgpd/Makefile.am b/bgpd/Makefile.am
index 0e549cc0..3559652c 100644
--- a/bgpd/Makefile.am
+++ b/bgpd/Makefile.am
@@ -26,19 +26,7 @@ bgpd_SOURCES = \
bgpd_LDADD = ../lib/libzebra.a @LIBCAP@
-sysconf_DATA = bgpd.conf.sample bgpd.conf.sample2
-
-EXTRA_DIST = $(sysconf_DATA) BGP4-MIB.txt
-
-install-sysconfDATA: $(sysconf_DATA)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
- @list='$(sysconf_DATA)'; for p in $$list; do \
- if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
- $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
- else if test -f $$p; then \
- echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
- $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
- fi; fi; \
- done
+dist_sysconf_DATA = bgpd.conf.sample bgpd.conf.sample2
+
+EXTRA_DIST = BGP4-MIB.txt
+