$NetBSD: patch-ab,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $ --- ospf6d/Makefile.am.orig Sat Jun 29 15:20:39 2002 +++ ospf6d/Makefile.am Wed Jul 10 08:34:31 2002 @@ -34,15 +34,17 @@ EXTRA_DIST = $(sysconf_DATA) +sysconfdatadir=$(datadir)/examples/quagga + install-sysconfDATA: $(sysconf_DATA) @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(sysconfdir) + $(mkinstalldirs) $(DESTDIR)$(sysconfdatadir) @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; \ + echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p"; \ + $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p; \ else if test -f $$p; then \ - echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ - $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ + echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p"; \ + $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p; \ fi; fi; \ done