Add italian

svn path=/trunk/; revision=1247
This commit is contained in:
loic 2001-08-25 22:36:18 +00:00
parent c0d20ca415
commit 9a7bab66f5

View File

@ -41,10 +41,12 @@ DEPAGES = $(shell find * -path 'fr' -prune -o -regex '.*\.de\.xhtml' -print | se
PTPAGES = $(shell find * -path 'fr' -prune -o -regex '.*\.pt\.xhtml' -print | sed "s/xhtml$$/html/")
ITPAGES = $(shell find * -path 'fr' -prune -o -regex '.*\.it\.xhtml' -print | sed "s/xhtml$$/html/")
# temporary, added by mad@april.org
NEWS = news/news.fr.html news/news.en.html
all: $(ENPAGES) $(FRPAGES) $(DEPAGES) $(PTPAGES)
all: $(ENPAGES) $(FRPAGES) $(DEPAGES) $(PTPAGES) $(ITPAGES)
swpat/patents.en.html: swpat/patents-agenda.en.xml
@ -96,9 +98,19 @@ $(PTPAGES): %.html: %.xhtml fsfe.xsl navigation.pt.xsl
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase '$$path='$$path > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; s/\$$//g if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.html) ; \
rm -f $$base.html-temp
$(ITPAGES): %.html: %.xhtml fsfe.xsl # navigation.it.xsl
@$(ECHO) "Building $@ ..."; \
path=$< ; \
base=`expr $$path : '\(.*\).xhtml'` ; \
filebase=`basename $$base` ; \
dir=`dirname $$path` ; \
root=`dirname $$path | perl -pe 'chop; s:([^/]+):..:g if($$_ ne ".")'` ; \
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase '$$path='$$path > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; s/\$$//g if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.html) ; \
rm -f $$base.html-temp
# remove html files for which an xhtml version exists (exclude fr/)
clean:
rm -f $(ENPAGES) $(FRPAGES) $(DEPAGES) $(PTPAGES)
rm -f $(ENPAGES) $(FRPAGES) $(DEPAGES) $(PTPAGES) $(ITPAGES)
sync:
@echo "Updating stable version : $(STABLEBRANCH)"