$NetBSD: patch-aj,v 1.1 2001/01/16 21:59:40 cjones Exp $ --- example/Makefile.in.orig Sat Nov 25 07:02:02 2000 +++ example/Makefile.in Mon Jan 15 15:33:47 2001 @@ -33,7 +33,7 @@ DESTDIR = -pkgdatadir = $(datadir)/@PACKAGE@ +pkgdatadir = $(datadir)/examples/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ @@ -216,7 +216,16 @@ install-exec-am: install-exec: install-exec-am -install-data-am: +install-data-am: $(noinst_DATA) $(EXTRA_DIST) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) + @list='$(noinst_DATA) $(EXTRA_DIST)'; for p in $$list; do \ + if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \ + $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \ + done + install-data: install-data-am install-am: all-am