diff options
author | Eygene Ryabinkin <rea@FreeBSD.org> | 2011-09-25 22:20:28 +0000 |
---|---|---|
committer | Eygene Ryabinkin <rea@FreeBSD.org> | 2011-09-25 22:20:28 +0000 |
commit | 7323d99cc720f3fed802c8120d6192ce9073b385 (patch) | |
tree | e0290bb68c2fb0d6cd68e21ab8122ea83e1fa04f /databases/postgresql91-server/files/patch-doc-src-sgml-Makefile | |
parent | Forced commit to document the repocopy of lang/gcc46 to lang/gcc. (diff) |
Don't rebuild manual pages if configure was changed
Sometimes patches for PostgreSQL touch its configure script. And the
logics inside current Makefiles for the documentation makes the manual
pages (and other stuff) to be dependent of the timestamp of the
top-level configure file. This triggers the rebuild of the manual
pages, but since some additional XML-related tools are needed, this
rebuild can fail.
PR: 159844
Approved by: maintainer timeout (1 month)
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=282389
Diffstat (limited to 'databases/postgresql91-server/files/patch-doc-src-sgml-Makefile')
-rw-r--r-- | databases/postgresql91-server/files/patch-doc-src-sgml-Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/postgresql91-server/files/patch-doc-src-sgml-Makefile b/databases/postgresql91-server/files/patch-doc-src-sgml-Makefile new file mode 100644 index 000000000000..12c43172fb35 --- /dev/null +++ b/databases/postgresql91-server/files/patch-doc-src-sgml-Makefile @@ -0,0 +1,17 @@ +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 +@@ -75,8 +75,6 @@ + ## Man pages + ## + +-man distprep-man: man-stamp +- + man-stamp: stylesheet-man.xsl postgres.xml + $(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_MAN_FLAGS) $^ + touch $@ |