summaryrefslogtreecommitdiffstats
path: root/ospfd/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/Makefile.am')
-rw-r--r--ospfd/Makefile.am20
1 files changed, 4 insertions, 16 deletions
diff --git a/ospfd/Makefile.am b/ospfd/Makefile.am
index 81f212c4..93b80aed 100644
--- a/ospfd/Makefile.am
+++ b/ospfd/Makefile.am
@@ -30,19 +30,7 @@ ospfd_SOURCES = \
ospfd_LDADD = -L../lib -lzebra @LIBCAP@
-sysconf_DATA = ospfd.conf.sample
-
-EXTRA_DIST = $(sysconf_DATA) OSPF-MIB.txt OSPF-TRAP-MIB.txt ChangeLog.opaque.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
+EXTRA_DIST = OSPF-MIB.txt OSPF-TRAP-MIB.txt ChangeLog.opaque.txt
+
+dist_sysconf_DATA = ospfd.conf.sample
+