aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql-devel/files/patch-doc-makefile
blob: fa27bed2af3f028a027703adebfd23148ae5d98f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- 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