summaryrefslogtreecommitdiff
path: root/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql90-server/files/patch-doc-src-sgml-Makefile')
-rw-r--r--databases/postgresql90-server/files/patch-doc-src-sgml-Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile b/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile
index 12c43172fb35..986ef77157fb 100644
--- a/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile
+++ b/databases/postgresql90-server/files/patch-doc-src-sgml-Makefile
@@ -1,11 +1,5 @@
-Manual pages are already present in the PostgreSQL tarball, so we avoid
-messing with timestamp: it depends on postgres.xml that, in turn,
-depends on almost all SGML files, most notably, version.sgml. And the
-latter depends on the configure in the top-level directory, so when
-we patch it, build system wants to regenerate manual pages.
-
---- doc/src/sgml/Makefile.orig 2011-09-13 23:42:58.508672251 +0400
-+++ doc/src/sgml/Makefile 2011-09-13 23:43:01.676668807 +0400
+--- doc/src/sgml/Makefile.orig 2011-10-13 15:05:32.000000000 +0200
++++ doc/src/sgml/Makefile 2011-10-13 15:41:10.000000000 +0200
@@ -75,8 +75,6 @@
## Man pages
##
@@ -15,3 +9,12 @@ we patch it, build system wants to regenerate manual pages.
man-stamp: stylesheet-man.xsl postgres.xml
$(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_MAN_FLAGS) $^
touch $@
+@@ -292,7 +290,7 @@
+ endif
+
+ installdirs:
+- $(MKDIR_P) '$(DESTDIR)$(htmldir)'/html $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum))
++ $(MKDIR_P) $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum))
+
+ uninstall:
+ rm -f '$(DESTDIR)$(htmldir)/html/'* $(addprefix '$(DESTDIR)$(mandir)'/man, 1/* 3/* $(sqlmansectnum)/*)