File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# PostgreSQL documentation makefile
4
4
#
5
- # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.109 2008/10/31 14:35:30 petere Exp $
5
+ # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.110 2008/11/04 14:58:22 petere Exp $
6
6
#
7
7
# ----------------------------------------------------------------------------
8
8
@@ -269,6 +269,20 @@ MAKEINFO = makeinfo
269
269
.SUFFIXES :
270
270
271
271
272
+ # #
273
+ # # Experimental man page building through docbook2x
274
+ # #
275
+
276
+ # called docbook2man on non-Debian
277
+ DOCBOOK2MAN = docbook2x-man
278
+
279
+ manx : postgres.xml stylesheet-man.xsl
280
+ $(DOCBOOK2MAN ) -s $(srcdir ) /stylesheet-man.xsl --string-param default-manpage-section=$(DEFAULTSECTION ) $<
281
+ $(mkinstalldirs ) man1 man$(DEFAULTSECTION )
282
+ mv * .1 man1/
283
+ mv * .$(DEFAULTSECTION ) man$(DEFAULTSECTION ) /
284
+
285
+
272
286
# #
273
287
# # Check
274
288
# #
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <xsl : stylesheet xmlns : xsl =" http://www.w3.org/1999/XSL/Transform"
3
+ version =" 1.0" >
4
+
5
+ <xsl : import href =" http://docbook2x.sourceforge.net/latest/xslt/man/docbook.xsl" />
6
+
7
+ <!--
8
+ Man pages don't really support a third section level, but this
9
+ makes our man pages work OK and matches the behavior of the sgmlspl
10
+ style.
11
+ -->
12
+ <xsl : template match =" refsect3" >
13
+ <xsl : call-template name =" SS-section" />
14
+ </xsl : template >
15
+
16
+ </xsl : stylesheet >
You can’t perform that action at this time.
0 commit comments