Fixes a typo and defines correctly the emacs mode of html files.
svn path=/trunk/; revision=279
This commit is contained in:
parent
5de9225dd2
commit
75fc0e5dca
12
Makefile
12
Makefile
@ -30,33 +30,33 @@ DEPAGES = $(shell find * -path 'fr' -prune -o -regex '.*\.de\.xhtml' -print | se
|
||||
all: $(ENPAGES) $(FRPAGES) $(DEPAGES)
|
||||
|
||||
$(ENPAGES): %.html: %.xhtml fsfe.xsl navigation.en.xsl
|
||||
@echo "Building $< ..."; \
|
||||
@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 > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; s/\$$//g if(/\$$''Date:/);' > $$base.html) ; \
|
||||
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; s/\$$//g if(/\$$Date: 2001-04-26 21:18:25 $$base.html) ; \
|
||||
rm -f $$base.html-temp
|
||||
|
||||
$(FRPAGES): %.html: %.xhtml fsfe.xsl navigation.fr.xsl
|
||||
@echo "Building $< ..."; \
|
||||
@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 > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; s/\$$//g if(/\$$''Date:/);' > $$base.html) ; \
|
||||
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; s/\$$//g if(/\$$Date: 2001-04-26 21:18:25 $$base.html) ; \
|
||||
rm -f $$base.html-temp
|
||||
|
||||
$(DEPAGES): %.html: %.xhtml fsfe.xsl navigation.de.xsl
|
||||
@echo "Building $< ..."; \
|
||||
@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 > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; s/\$$//g if(/\$$''Date:/);' > $$base.html) ; \
|
||||
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; s/\$$//g if(/\$$Date: 2001-04-26 21:18:25 $$base.html) ; \
|
||||
rm -f $$base.html-temp
|
||||
|
||||
# remove html files for which an xhtml version exists (exclude fr/)
|
||||
|
Loading…
Reference in New Issue
Block a user