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 d5bf2ab commit d2a9900
Show file tree
Hide file tree
Showing 11 changed files with 1,610 additions and 16 deletions.
4 changes: 3 additions & 1 deletion postgresql/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ override XSLTPROCFLAGS += --stringparam pg.version '$(VERSION)'
ALLXML := $(wildcard $(srcdir)/*.xml $(srcdir)/ref/*.xml)

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

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

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

htmlhelp: htmlhelp-stamp
Expand Down

0 comments on commit d2a9900

Please sign in to comment.