$NetBSD: patch-ac,v 1.12 2003/01/05 20:12:13 jlam Exp $ --- doc/Makefile.orig Wed Nov 27 18:21:20 2002 +++ doc/Makefile @@ -70,7 +70,7 @@ endif # found_man install: all installdirs ifdef found_html - gzip -d -c postgres.tar.gz | ( cd $(DESTDIR)$(docdir)/html && $(TAR) xf - ) + gzip -d -c postgres.tar.gz | ( cd $(DESTDIR)$(htmldir) && $(TAR) xf - ) endif ifdef found_man for file in man1/*.1 man$(sqlmansectnum)/*.$(sqlmansect) ; do \ @@ -81,7 +81,7 @@ endif installdirs: ifdef found_html - $(mkinstalldirs) $(DESTDIR)$(docdir)/html + $(mkinstalldirs) $(DESTDIR)$(htmldir) endif ifdef found_man $(mkinstalldirs) $(addprefix $(DESTDIR)$(mandir)/man, 1 $(sqlmansectnum)) @@ -90,7 +90,7 @@ endif uninstall: ifdef found_html - -rm -f $(addprefix $(DESTDIR)$(docdir)/html/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -)) + -rm -f $(addprefix $(DESTDIR)$(htmldir)/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -)) endif ifdef found_man -rm -f $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | tar tf - | sed -e 's,man$(sqlmansect_dummy)/,man$(sqlmansectnum)/,' -e 's/.$(sqlmansect_dummy)$$/.$(sqlmansect)/'))