$NetBSD: patch-aa,v 1.5 2006/08/18 13:45:57 salo Exp $ --- Makefile.in.orig 2006-08-15 22:15:54.000000000 +0200 +++ Makefile.in 2006-08-18 15:32:53.000000000 +0200 @@ -237,6 +237,7 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ +examplesdir = @prefix@/share/examples/miredo target_alias = @target_alias@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = po doc compat libteredo libtun6 src @@ -347,12 +348,9 @@ done install-nodist_sysconfDATA: $(nodist_sysconf_DATA) @$(NORMAL_INSTALL) - test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)" - @list='$(nodist_sysconf_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(nodist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ - $(nodist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ + $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(examplesdir) + for p in $(nodist_sysconf_DATA); do \ + $(BSD_INSTALL_DATA) $$p $(DESTDIR)$(examplesdir)/; \ done uninstall-nodist_sysconfDATA: @@ -703,7 +701,6 @@ install-data-am: @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-exec-am: install-dist_sysconfDATA install-nodist_sysconfDATA