Skip to content

Commit

Permalink
Revue de la génération des versions 10.X
Browse files Browse the repository at this point in the history
Suite à la refonte du site, les nouvelles générations ne trouvaient plus
images et feuilles de style. Ceci est une tentative pour améliorer ça,
en espérant ne pas avoir cassé les autres formats :)
  • Loading branch information
gleu committed Nov 6, 2020
1 parent 0285850 commit 278c134
Show file tree
Hide file tree
Showing 11 changed files with 1,611 additions and 16 deletions.
5 changes: 4 additions & 1 deletion postgresql/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ override XSLTPROCFLAGS += --stringparam pg.version '$(VERSION)'

ALLXML := $(wildcard $(srcdir)/*.xml $(srcdir)/ref/*.xml)

ALL_WEBSITE_IMAGES := $(wildcard $(srcdir)/images/*.png)

##
## pgfr release
##
Expand Down Expand Up @@ -120,10 +122,11 @@ html-stamp: stylesheet.xsl postgres.xml $(ALLXML)
cp $(srcdir)/css/*.css html/
touch $@

html-website: stylesheet.xsl postgres.xml $(ALLXML)
html-website: stylesheet.xsl postgres.xml $(ALLXML) $(ALL_WEBSITE_IMAGES)
$(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^)
$(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) --param website.stylesheet 1 $(wordlist 1,2,$^)
mv html $@
cp $(ALL_WEBSITE_IMAGES) $@/
cp $(srcdir)/css/*.css $@/

htmlhelp: htmlhelp-stamp
Expand Down

0 comments on commit 278c134

Please sign in to comment.