Skip to content

Commit

Permalink
Ajouter de la génération des INSTALL*
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed Oct 6, 2023
1 parent c66645e commit 77f2c9e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
17 changes: 8 additions & 9 deletions postgresql/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,11 @@ html-website: stylesheet.xsl postgres.xml $(ALLXML) $(ALL_IMAGES) $(ALL_WEBSITE_
##
## pgfr release
##
#pgfr: man html-website html INSTALL INSTALL.html postgres-A4.pdf
pgfr: man html-website html postgres-A4.pdf
mv html-website $(VERSION)
tar cfz $(VERSION)/pg$(VERSION).tar.gz html
zip -qr $(VERSION)/pg$(VERSION).zip html
tar cfz $(VERSION)/pg$(VERSION).man.tar.gz man[0-9]
#mv INSTALL $(VERSION)/INSTALL.txt
#mv INSTALL.html $(VERSION)/
mv postgres-A4.pdf $(VERSION)/pg$(VERSION).pdf
pgfr: man html-website html INSTALL INSTALL.html postgres-A4.pdf
mv html-website $(VERSION)
tar cfz $(VERSION)/pg$(VERSION).tar.gz html
zip -qr $(VERSION)/pg$(VERSION).zip html
tar cfz $(VERSION)/pg$(VERSION).man.tar.gz man[0-9]
mv INSTALL $(VERSION)/INSTALL.txt
mv INSTALL.html $(VERSION)/
mv postgres-A4.pdf $(VERSION)/pg$(VERSION).pdf
8 changes: 8 additions & 0 deletions postgresql/standalone-profile.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ variant without links and references to the main documentation.
<xsl:text>the documentation about client authentication and libpq</xsl:text>
</xsl:template>

<xsl:template match="xref[@linkend='collation']">
<xsl:text>the documentation</xsl:text>
</xsl:template>

<xsl:template match="xref[@linkend='docguide-toolsets']">
<xsl:text>the main documentation's appendix on documentation</xsl:text>
</xsl:template>
Expand All @@ -60,6 +64,10 @@ variant without links and references to the main documentation.
<xsl:text>the documentation</xsl:text>
</xsl:template>

<xsl:template match="xref[@linkend='locale-providers']">
<xsl:text>the documentation</xsl:text>
</xsl:template>

<xsl:template match="xref[@linkend='plpython-python23']">
<xsl:text>the </xsl:text><application>PL/Python</application><xsl:text> documentation</xsl:text>
</xsl:template>
Expand Down

0 comments on commit 77f2c9e

Please sign in to comment.