$NetBSD: patch-af,v 1.11 2007/07/07 15:21:08 wiz Exp $ --- Makefile.in.orig 2007-06-28 21:12:36.000000000 +0000 +++ Makefile.in @@ -75,7 +75,7 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ +pkgdatadir = $(datadir)/doc/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . @@ -323,6 +323,10 @@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ +include_PRIVATE_HEADERS = include/private/gc_hdrs.h \ +include/private/gc_locks.h include/private/gc_priv.h \ +include/private/gcconfig.h + MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ @@ -895,6 +899,13 @@ install-includeHEADERS: $(include_HEADER echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ done + $(mkinstalldirs) $(DESTDIR)$(pkgincludedir)/private + @list='$(include_PRIVATE_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(pkgincludedir)/private/$$f"; \ + $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(pkgincludedir)/private/$$f; \ + done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL)