freebsd-ports/databases/postgresql90-server/files/patch-doc-makefile
Vanilla I. Shu bfb9f8e6c9 Upgrade to 7.1, change to new layout style.
PR:				ports/26741
Submitted by:	maintainer
2001-04-21 11:34:34 +00:00

20 lines
428 B
Plaintext

--- doc/Makefile~ Sun Jan 7 03:03:22 2001
+++ doc/Makefile Wed Apr 18 08:12:30 2001
@@ -43,10 +43,13 @@
gzip -d -c man.tar.gz | ( cd $(DESTDIR)$(mandir) && $(TAR) xf - )
endif
-
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(mandir) $(DESTDIR)$(docdir)/html
-
+ifdef found_html
+ $(mkinstalldirs) $(DESTDIR)$(docdir)/html
+endif
+ifdef found_man
+ $(mkinstalldirs) $(DESTDIR)$(mandir)
+endif
uninstall:
ifdef found_html