summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
Diffstat (limited to 'ripd')
-rw-r--r--ripd/Makefile.am20
1 files changed, 4 insertions, 16 deletions
diff --git a/ripd/Makefile.am b/ripd/Makefile.am
index 2c187e84..ab631345 100644
--- a/ripd/Makefile.am
+++ b/ripd/Makefile.am
@@ -19,19 +19,7 @@ ripd_SOURCES = \
ripd_LDADD = -L../lib -lzebra @LIBCAP@
-sysconf_DATA = ripd.conf.sample
-
-EXTRA_DIST = $(sysconf_DATA) RIPv2-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 = ripd.conf.sample
+
+EXTRA_DIST = RIPv2-MIB.txt
+