Subversion Repositories svn LFS-FR

Compare Revisions

Ignore whitespace Rev 7370 → Rev 7371

/trunk/blfs/Makefile
1,91 → 1,285
#!/usr/bin/make -f
 
include include.mk
# Use make L=... to build only a subset of the languages.
 
LANGUAGE := fr
LANGUAGES := fr
LANG_fr := fr_FR.UTF-8
L = all
 
GENDIR := blfsgen-$(LANGUAGE)
# Use config.mk to configure username and password for download and upload
include config.mk
 
ORIGDIR := blfs-en
PODIR := $(LANGUAGE)
#VERSION = tags/8.3
VERSION = trunk/BOOK
DIFFDIR = diff
 
FR_REPO:=svn://svn.linuxfromscratch.org/fr-lfs
EN_REPO:=svn://svn.linuxfromscratch.org/BLFS
 
RENDERTMP=~/tmp
 
 
# Note for releasing a new stable version:
# ----------------------------------------
#
# When a new stable version is released upstream, this Makefile will automatically
# track it, so translate it as usual. Once the stable version is translated,
# create a new branch that keeps tracking this release:
#
# svn cp http://svn.linuxfromscratch.org/fr-lfs/trunk/blfs \
# http://svn.linuxfromscratch.org/fr-lfs/branches/blfs-$(MILESTONE)
#
# Once this is done, you can publish the new version by running:
#
# make upload
#
# Then, update the MILESTONE to the next (unreleased) version of LFS in the
# development branch and commit.
 
# What we follow from upstream.
MILESTONE := 8.3
 
# Select the current version we are tracking from master
EN_CURR_VER := $(shell svn info $(ORIGDIR) | grep ^URL | sed 's|^[^s]*||')
REVISION := $(shell svn info $(ORIGDIR) | grep ^Revision | sed 's|^.* ||')
 
# If the version we are tracking is released, there should be a tag named $(MILESTONE).
# If this tag doesn't exist, it means the version is not released yet. Try to
# list files in this tag. If it succeeds, it exists, if it fails it doesn't
# exist. From that, choose what tag to follow: $(MILESTONE) or trunk.
TAG := $(shell (svn ls svn://svn.linuxfromscratch.org/BLFS/tags/$(MILESTONE) --depth empty >/dev/null 2>&1 && $(MILESTONE)) || echo trunk)
 
# Depending on what we track, we choose the correct branch from upstream.
ifeq ($(TAG), trunk)
EN_VER := trunk/BOOK
else
EN_VER := tags/$(TAG)
endif
 
# Files that are needed for the build process once translations are generated.
filestocopy := INSTALL obfuscate.sh README
# Additional files that may require some changes.
filestoget := $(filestocopy) general.ent gnome.ent packages.ent tidy.conf Makefile
COPY:=$(addprefix $(GENDIR)/,$(filestoget))
REV=sysv
VERSION_LINE=1
 
# Use REV=sysv or REV=systemd to only build that version.
REV=all
 
ifeq ($(REV), all)
SYSV=1
SYSD=1
REVS=sysv systemd
else
ifeq ($(REV), systemd)
VERSION_LINE=4
SYSV=
SYSD=1
REVS=systemd
else
SYSV=1
SYSD=
REVS=sysv
endif
endif
 
EN_REPO:=svn://svn.linuxfromscratch.org/BLFS
# The complete upstream URI we follow.
SVN_en := "$(EN_REPO)/$(EN_VER)"
 
SVN_en := "$(EN_REPO)/$(VERSION)/"
 
IMAGES := $(shell find images -type f)
STYLESHEETS := $(shell find stylesheets -type f)
CSS := $(shell ls stylesheets/lfs-xsl/*.css)
 
CHUNK_QUIET = 1
 
.PHONY: svnup
 
#all: genhtml genpdf
all: genhtml
# Don't delete intermediates (.po files).
.SECONDARY:
 
default:
@echo 'Hi!'
@echo 'To build the HTML documentation, please run `make genhtml`. For'
@echo 'the PDF version, run `make genpdf`. For both run `make all`.'
@echo 'Restrict to a subset of the available language with L=... and'
@echo 'to a subset of the versions with REV=<sysv or systemd>.'
@echo 'Good luck!'
 
all: genhtml genpdf
@echo DONE
 
include.mk: $(ORIGDIR)
echo -n 'XML := ' > $@
find $(ORIGDIR) -type d -name stylesheets -prune -o -name archive -prune -o -name '*.xml' -a -type f -print | sed 's|$(ORIGDIR)/|$(GENDIR)/|g' | tr '\n' ' ' >> $@
echo >> $@
echo -n 'PO := ' >> $@
find $(ORIGDIR) -type d -name stylesheets -prune -o -name archive -prune -o -name '*.xml' -a -type f -print | sed 's|$(ORIGDIR)/|$(PODIR)/|g' | sed 's|.xml$$|.po|g' | tr '\n' ' ' >> $@
echo >> $@
echo -n 'IMAGES := ' >> $@
find images -type f | sed 's|^|$(GENDIR)/|g' | tr '\n' ' ' >> $@
echo >> $@
echo -n 'STYLESHEETS := ' >> $@
find stylesheets -type f | sed 's|^|$(GENDIR)/|g' | tr '\n' ' ' >> $@
include include.mk
 
config.mk:
@echo 'Hi!'
@echo 'To use this Makefile, you will need a config.mk file, with your username'
@echo 'and password in it. That is required for uploading to the lfs website.'
@echo 'An example config.mk is simply:'
@echo ''
@echo 'USER:=my-user'
@echo 'PRIVKEY:=~/.ssh/id_rsa'
@echo 'USE_SSH_AGENT:=yes'
@echo 'DOCBOOK_LOCATION:=/usr/share/xml/xsl/docbook-xsl-1.79.1'
@false
 
# So, if USE_SSH_AGENT = yes ...
ifeq ($(USE_SSH_AGENT), yes)
SSH_AGENT:=ssh-agent
else
SSH_AGENT:=
endif
 
.SECONDEXPANSION:
$(addprefix $(GENDIR)/,$(filestocopy)): INPUT=$(ORIGDIR)$(subst $(GENDIR),,$@)
$(addprefix $(GENDIR)/,$(filestocopy)): $$(INPUT) $(GENDIR)
cp -r $< $@
init: $(ORIGDIR)
 
genhtml: $(XML) $(STYLESHEETS) $(IMAGES) $(COPY)
$(MAKE) -j1 -C $(GENDIR) REV=$(REV) BASEDIR=../html-$(REV)-$(LANGUAGE)
$(ORIGDIR):
[ -d $@ ] || svn co $(SVN_en) $(ORIGDIR)/
 
genpdf: $(XML) $(STYLESHEETS) $(IMAGES) $(COPY)
$(MAKE) -j1 -C $(GENDIR) REV=$(REV) BASEDIR=../pdf-$(REV)-$(LANGUAGE) pdf
# When updating, check that we still want to follow the checked-out branch.
# If not, remove it and check out the new branch.
svnup: init
v=$$(svn info $(ORIGDIR) | grep ^URL | sed 's|^[^s]*||') ;\
if [ "$$v" != "$(SVN_en)" ]; then \
echo $$v ;\
rm -rf $(ORIGDIR);\
svn co $(SVN_en) $(ORIGDIR)/ >/dev/null;\
else \
if [ "$$(svn status -u $(ORIGDIR) | wc -l)" != "1" ]; then \
LANG=en_US.UTF-8 svn update $(ORIGDIR);\
fi ;\
fi
 
TRANSLATE_CMD = po4a-translate -k 0 -f docbook -m $< -l $@ -p $(word 2,$^) -M ascii -L UTF-8
clean: clean-gen clean-product
rm -rf $(ORIGDIR) include.mk
 
$(GENDIR)/%.xml: $(ORIGDIR)/%.xml $(PODIR)/%.po
$(TRANSLATE_CMD)
./sed_$(LANGUAGE).sh $@
sed '0,/#-#/s|\([^>]*\) #-# \([^<]*\)|\1|' -i $@
sed '0,/#-#/s|\([^>]*\) #-# \([^<]*\)|\2|' -i $@
sed -e 's|encoding="ISO-8859-1"|encoding="UTF-8"|g' -i $@
touch $(word 2,$^)
touch $@
# include.mk contains most of the logic of the Makefile.
# We generate lists of XML files to translated, PO files that contain translations,
# images and stylesheet files, and the list of files to copy from the english repo.
#
# It also contains targets to build different html versions, to refresh the PO
# files and to generate the translated XML files. We need to use this target
# because the language in the name of the target and the file name are both
# wildcards, which cannot be used.
include.mk: include.in $(ORIGDIR) Makefile
echo '# This file is generated by Makefile, please do not modify it directly.' > $@.tmp
echo 'PO :=' >> $@.tmp
for lang in $(LANGUAGES); do \
sed -e "s|MLANG|$$lang|g" include.in >> $@.tmp;\
done
mv $@.tmp $@
 
$(GENDIR)/index.xml: $(ORIGDIR)/index.xml $(PODIR)/index.po
$(TRANSLATE_CMD)
./sed_$(LANGUAGE).sh $@
sed -i -e 's|<book>|<book lang="fr">|g' \
-e 's|encoding="ISO-8859-1"|encoding="UTF-8"|g' -i $@
clean-gen: $(addprefix clean-gen-,$(LANGUAGES))
clean-product: $(addprefix clean-product-,$(LANGUAGES))
 
$(GENDIR)/images/%: images/%
ifeq ($(L),all)
L=$(LANGUAGES)
endif
 
HTMLDEPS=
ifeq ($(SYSV),1)
HTMLDEPS+=$(addsuffix -sysv,$(addprefix genhtml-,$(L)))
endif
ifeq ($(SYSD),1)
HTMLDEPS+=$(addsuffix -sysd,$(addprefix genhtml-,$(L)))
endif
 
PDFDEPS=
ifeq ($(SYSV),1)
PDFDEPS+=$(addsuffix -sysv,$(addprefix genpdf-,$(L)))
endif
ifeq ($(SYSD),1)
PDFDEPS+=$(addsuffix -sysd,$(addprefix genpdf-,$(L)))
endif
 
TARDEPS=
ifeq ($(SYSV),1)
TARDEPS+=$(addsuffix -sysv,$(addprefix gentar-,$(L)))
endif
ifeq ($(SYSD),1)
TARDEPS+=$(addsuffix -sysd,$(addprefix gentar-,$(L)))
endif
 
EPUBDEPS=
ifeq ($(SYSV),1)
EPUBDEPS+=$(addsuffix -sysv,$(addprefix genepub-,$(L)))
endif
ifeq ($(SYSD),1)
EPUBDEPS+=$(addsuffix -sysd,$(addprefix genepub-,$(L)))
endif
 
UPDEPS=
ifeq ($(SYSV),1)
UPDEPS+=$(addsuffix -sysv,$(addprefix upload-,$(L)))
endif
ifeq ($(SYSD),1)
UPDEPS+=$(addsuffix -sysd,$(addprefix upload-,$(L)))
endif
 
genhtml: $(HTMLDEPS)
genpdf: $(PDFDEPS)
genepub: $(EPUBDEPS)
gentar: $(TARDEPS)
 
update: $(PO)
 
pootle:
pootle sync_stores --project=blfs
$(MAKE) svnup
$(MAKE) update
python3 changelogtranslator.py fr/introduction/welcome/changelog.po
for lang in $(LANGUAGES); do \
python3 templatetranslator.py `find $$lang -name '*.po'` ;\
done
pootle update_stores --project=blfs
 
ssh-agent:
(ssh-add -l | grep $(PRIVKEY)) || \
ssh-add $(PRIVKEY)
 
upload: $(UPDEPS)
 
release: $(SSH_AGENT) genhtml genpdf gentar genepub
for lang in $(L); do \
cd html-$$lang-systemd ;\
rsync --progress --recursive * $(USER)@www.linuxfromscratch.org:/srv/www/www.$$lang.linuxfromscratch.org/view/blfs-$(MILESTONE)-systemd-$$lang/ ;\
cd ../html-$$lang-sysv ;\
rsync --progress --recursive * $(USER)@www.linuxfromscratch.org:/srv/www/www.$$lang.linuxfromscratch.org/view/blfs-$(MILESTONE)-$$lang/ ;\
cd ../pdf-$$lang ;\
rsync --progress LFS-$(MILESTONE)-$$lang.pdf $(USER)@www.linuxfromscratch.org:/srv/www/www.$$lang.linuxfromscratch.org/archives/BLFS-$(MILESTONE)/ ;\
rsync --progress LFS-$(MILESTONE)-$$lang-systemd.pdf $(USER)@www.linuxfromscratch.org:/srv/www/www.$$lang.linuxfromscratch.org/archives/BLFS-$(MILESTONE)-systemd/ ;\
cd .. ;\
rsync --progress LFS-$(MILESTONE)-$$lang-HTML.tar.bz2 $(USER)@www.linuxfromscratch.org:/srv/www/www.$$lang.linuxfromscratch.org/archives/BLFS-$(MILESTONE)/ ;\
rsync --progress LFS-$(MILESTONE)-systemd-$$lang-HTML.tar.bz2 $(USER)@www.linuxfromscratch.org:/srv/www/www.$$lang.linuxfromscratch.org/archives/BLFS-$(MILESTONE)-systemd/ ;\
cd epub-$$lang-sysv;\
rsync --progress lfs-$(MILESTONE)-$$lang.epub $(USER)@www.linuxfromscratch.org:/srv/www/www.$$lang.linuxfromscratch.org/archives/BLFS-$(MILESTONE)/ ;\
cd ../epub-$$lang-systemd ;\
rsync --progress lfs-$(MILESTONE)-systemd-$$lang.epub $(USER)@www.linuxfromscratch.org:/srv/www/www.$$lang.linuxfromscratch.org/archives/BLFS-$(MILESTONE)-systemd/ ;\
done
 
commit: pootle
svn commit -m 'Automatic BLFS commit based on r$(REVISION)'
 
blfsgen-%/pdf.mk: pdf.mk
mkdir -p $$(dirname $@)
rm -rf $@
cp $< $@
 
$(GENDIR)/stylesheets/%: stylesheets/%
blfsgen-%/epub.mk: epub.mk
mkdir -p $$(dirname $@)
rm -rf $@
cp $< $@
sed -e 's|DOCBOOK_LOCATION|$(DOCBOOK_LOCATION)|g' $< > $@
 
$(GENDIR)/general.ent: $(ORIGDIR)/general.ent
###############################################################################
# These files are not translated using po files. We use sed to modify them #
# directly. #
###############################################################################
 
##
## French translation of non po files
##
 
#blfsgen-fr/index.xml: $(ORIGDIR)/index.xml fr/index.po
# ./sed_fr.sh $@.tmp
# LANG=$(LANG_fr) po4a-translate -k 0 -f docbook -m $< -l $@.tmp -p $(word 2,$^)
# sed -i -e 's|<book>|<book lang="fr">|g' \
# -e 's|encoding="ISO-8859-1"|encoding="UTF-8"|g' $@.tmp > $@
# rm $@.tmp
 
blfsgen-fr/general.ent: $(ORIGDIR)/general.ent
mkdir -p $$(dirname $@)
cat $< | tr '\n' '\r' | \
sed -e "s|The BLFS Team|L'équipe de BLFS|g" \
-e "s|The BLFS Development Team|L'équipe de développement de BLFS|g" \
103,51 → 297,18
| tr '\r' '\n' > $@
cat general.ent.as_root >> $@
 
$(GENDIR)/packages.ent: $(ORIGDIR)/packages.ent
blfsgen-fr/packages.ent: $(ORIGDIR)/packages.ent
mkdir -p $$(dirname $@)
cp $< $@
 
$(GENDIR)/gnome.ent: $(ORIGDIR)/gnome.ent
blfsgen-fr/gnome.ent: $(ORIGDIR)/gnome.ent
mkdir -p $$(dirname $@)
cp $< $@
 
$(GENDIR)/tidy.conf: $(ORIGDIR)/tidy.conf
cp $< $@
sed -e "s/latin1/UTF8/g" \
$< > $@
blfsgen-fr/tidy.conf: $(ORIGDIR)/tidy.conf
mkdir -p $$(dirname $@)
sed -e "s/latin1/UTF8/g" $< > $@
 
$(GENDIR)/Makefile: $(ORIGDIR)/Makefile
sed '/&copy;/d' $< > $@
 
init: $(ORIGDIR)
 
$(ORIGDIR):
[ -d $@ ] || svn co $(SVN_en) $(ORIGDIR)/
 
pootle:
pootle sync_stores --project=blfs
$(MAKE) svnup
$(MAKE) update
python3 changelogtranslator.py fr/introduction/welcome/changelog.po
python3 templatetranslator.py `find $(LANGUAGE) -name '*.po'`
pootle update_stores --project=blfs
 
svnup: init
if [ "$$(svn status -u $(ORIGDIR) | wc -l)" != "1" ]; then \
svn update $(ORIGDIR);\
fi
 
clean:
rm -rf $(DIFFDIR) $(GENDIR) $(ORIGDIR) include.mk html-sysv html-systemd pdf
 
$(ORIGDIR)/%.xml: init
 
$(PODIR)/%.po: $(ORIGDIR)/%.xml $(PODIR)
po4a-updatepo -f docbook -m $< -p $@ -M ascii
touch $<
touch $@
 
update: $(PO)
 
upload:
(cd html-systemd-$(LANGUAGE); rsync --progress --recursive * jlepiller@www.linuxfromscratch.org:/srv/www/www.fr.linuxfromscratch.org/view/blfs-systemd-svn/)
(cd html-sysv-$(LANGUAGE); rsync --progress --recursive * jlepiller@www.linuxfromscratch.org:/srv/www/www.fr.linuxfromscratch.org/view/blfs-svn/)
blfsgen-fr/Makefile: $(ORIGDIR)/Makefile blfsgen-fr/epub.mk blfsgen-fr/pdf.mk
mkdir -p $$(dirname $@)
sed -e 's|^html:|include epub.mk\ninclude pdf.mk\nhtml:|' $< > $@
/trunk/blfs/epub.mk
0,0 → 1,13
epub: validate
@echo "Generating HTML/XML for EPUB..."
$(Q)if [ ! -e $(BASEDIR) ]; then \
mkdir -p $(BASEDIR); \
fi;
$(Q)mkdir -p $(RENDERTMP)/blfs-epub/
$(Q)xsltproc --nonet --output $(RENDERTMP)/blfs-epub/ DOCBOOK_LOCATION/epub/docbook.xsl $(RENDERTMP)/lfs-full.xml
@echo "Generating EPUB file..."
echo "application/epub+zip" > $(RENDERTMP)/mimetype
cwd=$$(pwd) ;\
cd $(RENDERTMP)/; zip -0Xq $$cwd/../$(EPUB_OUTPUT) ./mimetype
cwd=$$(pwd) ;\
cd $(RENDERTMP)/lfs-epub/; zip -Xr9Dq $$cwd/../$(EPUB_OUTPUT) ./*
/trunk/blfs/include.in
0,0 → 1,104
HTMLDIRSYSV_MLANG := html-MLANG-sysv
HTMLDIRSYSD_MLANG := html-MLANG-systemd
HTMLTARSYSV_MLANG := BLFS-$(MILESTONE)-MLANG-HTML.tar.bz2
HTMLTARSYSD_MLANG := BLFS-$(MILESTONE)-systemd-MLANG-HTML.tar.bz2
PDFSYSV_MLANG := BLFS-$(MILESTONE)-MLANG.pdf
PDFSYSD_MLANG := BLFS-$(MILESTONE)-MLANG-systemd.pdf
EPUBSYSV_MLANG := BLFS-$(MILESTONE)-MLANG.epub
EPUBSYSD_MLANG := BLFS-$(MILESTONE)-systemd-MLANG.epub
 
XML_MLANG := $(shell find $(ORIGDIR) -name '*.xml' -o -name stylesheets -prune -a -type f -o -name archive -prune -a -type f | sed "s|$(ORIGDIR)/|blfsgen-MLANG/|g" | tr '\n' ' ')
PO_MLANG := $(shell find $(ORIGDIR) -name '*.xml' -o -name stylesheets -prune -a -type f -o -name archive -prune -a -type f | sed "s|$(ORIGDIR)/|MLANG/|g" | sed 's|.xml$|.po|' | tr '\n' ' ')
PO += $(PO_MLANG)
IMAGES_MLANG := $(shell find images -type f | sed "s|^|blfsgen-MLANG/|g" | tr '\n' ' ')
STYLESHEETS_MLANG := $(shell find stylesheets -type f | sed "s|^|blfsgen-MLANG/|g" | tr '\n' ' ')
COPY_MLANG := $(addprefix blfsgen-MLANG/,$(filestoget))
 
blfsgen-MLANG/%.xml: $(ORIGDIR)/%.xml MLANG/%.po sed_MLANG.sh
mkdir -p $$(dirname $@)
LANG=$(LANG_MLANG) po4a-translate -k 0 -f docbook -m $< -l $@.tmp -p $(word 2,$^) -M ascii
./$(word 3,$^) $@.tmp
sed '0,/#-#/s|\([^>]*\) #-# \([^<]*\)|\1|' -i $@.tmp
sed '0,/#-#/s|\([^>]*\) #-# \([^<]*\)|\2|' -i $@.tmp
sed -e 's|encoding="ISO-8859-1"|encoding="UTF-8"|g' -i $@.tmp
mv $@.tmp $@
 
blfsgen-MLANG/images/%: images/%
mkdir -p $$(dirname $@)
@rm -f $@
cp $< $@
 
blfsgen-MLANG/stylesheets/%: stylesheets/%
mkdir -p $$(dirname $@)
@rm -f $@
@if [ "$(DOCBOOK_LOCATION)" = "" ]; then \
echo "DOCBOOK_LOCATION not set. Please set it in config.mk" ;\
false ;\
fi
sed -e 's|DOCBOOK_LOCATION|$(DOCBOOK_LOCATION)|g' $< > $@
 
MLANG/%.po: $(ORIGDIR)/%.xml
mkdir -p $$(dirname $@)
LANG=$(LANG_MLANG) po4a-updatepo -f docbook -m $< -p $@ -M ascii
@touch $@
 
clean-gen-MLANG:
rm -rf blfsgen-MLANG
 
clean-product-MLANG:
rm -rf $(HTMLTARSYSV_MLANG)
rm -rf $(HTMLTARSYSD_MLANG)
rm -rf $(HTMLDIRSYSV_MLANG)
rm -rf $(HTMLDIRSYSD_MLANG)
rm -rf $(PDFSYSV_MLANG)
rm -rf $(PDFSYSD_MLANG)
rm -rf $(EPUBSYSV_MLANG)
rm -rf $(EPUBSYSD_MLANG)
 
.SECONDEXPANSION:
$(addprefix blfsgen-MLANG/,$(filestocopy)): INPUT=$(ORIGDIR)$(subst blfsgen-MLANG,,$@)
$(addprefix blfsgen-MLANG/,$(filestocopy)): $$(INPUT)
mkdir -p $$(dirname $@)
cp -r $< $@
 
genhtml-MLANG-sysv: $(XML_MLANG) $(COPY_MLANG) $(IMAGES_MLANG) $(STYLESHEETS_MLANG)
LANG=$(LANG_MLANG) make -C blfsgen-MLANG -j1 REV=sysv BASEDIR=../$(HTMLDIRSYSV_MLANG) html
 
genhtml-MLANG-sysd: $(XML_MLANG) $(COPY_MLANG) $(IMAGES_MLANG) $(STYLESHEETS_MLANG)
LANG=$(LANG_MLANG) make -C blfsgen-MLANG -j1 REV=systemd BASEDIR=../$(HTMLDIRSYSD_MLANG) html
 
genpdf-MLANG-sysv: $(PDFSYSV_MLANG)
 
$(PDFSYSV_MLANG): $(XML_MLANG) $(COPY_MLANG) $(IMAGES_MLANG) $(STYLESHEETS_MLANG)
LANG=$(LANG_MLANG) make -C blfsgen-MLANG -j1 REV=sysv BASEDIR=.. PDF_OUTPUT=$@ pdf
 
genpdf-MLANG-sysd: $(PDFSYSD_MLANG)
 
$(PDFSYSD_MLANG): $(XML_MLANG) $(COPY_MLANG) $(IMAGES_MLANG) $(STYLESHEETS_MLANG)
LANG=$(LANG_MLANG) make -C blfsgen-MLANG -j1 REV=systemd BASEDIR=.. PDF_OUTPUT=$@ pdf
 
gentar-MLANG-sysv: $(HTMLTARSYSV_MLANG)
$(HTMLTARSYSV_MLANG): $(XML_MLANG) $(COPY_MLANG) $(IMAGES_MLANG) $(STYLESHEETS_MLANG) genhtml-MLANG-sysv
rm -f $@
tar cjf $@ $(HTMLDIRSYSV_MLANG)
 
gentar-MLANG-sysd: $(HTMLTARSYSD_MLANG)
$(HTMLTARSYSD_MLANG): $(XML_MLANG) $(COPY_MLANG) $(IMAGES_MLANG) $(STYLESHEETS_MLANG) genhtml-MLANG-sysd
rm -f $@
tar cjf $@ $(HTMLDIRSYSD_MLANG)
 
genepub-MLANG-sysv: $(EPUBSYSV_MLANG)
$(EPUBSYSV_MLANG): $(XML_MLANG) $(COPY_MLANG) $(IMAGES_MLANG) $(STYLESHEETS_MLANG)
LANG=$(LANG_MLANG) make -C blfsgen-MLANG -j1 REV=sysv EPUB_OUTPUT=$@ epub
 
genepub-MLANG-sysd: $(EPUBSYSD_MLANG)
$(EPUBSYSD_MLANG): $(XML_MLANG) $(COPY_MLANG) $(IMAGES_MLANG) $(STYLESHEETS_MLANG)
LANG=$(LANG_MLANG) make -C blfsgen-MLANG -j1 REV=systemd EPUB_OUTPUT=$@ epub
 
upload-MLANG-sysv: $(SSH_AGENT)
cd $(HTMLDIRSYSV_MLANG) ;\
rsync --progress --recursive * $(USER)@www.linuxfromscratch.org:/srv/www/www.MLANG.linuxfromscratch.org/view/blfs-svn/
 
upload-MLANG-sysd: $(SSH_AGENT)
cd $(HTMLDIRSYSD_MLANG) ;\
rsync --progress --recursive * $(USER)@www.linuxfromscratch.org:/srv/www/www.MLANG.linuxfromscratch.org/view/blfs-systemd-svn/
/trunk/blfs/pdf.mk
0,0 → 1,22
pdf: validate
@echo "Generating profiled XML for PDF..."
$(Q)xsltproc --nonet \
--stringparam profile.condition pdf \
--output $(RENDERTMP)/blfs-pdf.xml \
stylesheets/lfs-xsl/profile.xsl \
$(RENDERTMP)/blfs-html2.xml
@echo "Generating FO file..."
$(Q)xsltproc --nonet \
--stringparam rootid "$(ROOT_ID)" \
--output $(RENDERTMP)/blfs-pdf.fo \
stylesheets/blfs-pdf.xsl \
$(RENDERTMP)/blfs-pdf.xml
$(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo
$(Q)cp -r images/ $(RENDERTMP)/
@echo "Generating PDF file..."
$(Q)fop -q $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 2>fop.log
@echo "$(BASEDIR)/$(PDF_OUTPUT) created"
@echo "fop.log created"
 
# Not included: before Genration PDF file...
#$(Q)bash pdf-fixups.sh $(RENDERTMP)/blfs-pdf.fo
/trunk/blfs/sed_fr.sh
85,4 → 85,5
-e 's|xreflabel="X plus Window and Display Managers|xreflabel="X et gestionnaires de fenêtres et d'"'"'affichage|g' \
-e 's|xreflabel="Other Window Managers|xreflabel="Autres gestionnaires de fenêtre|g' \
-e 's|xreflabel="X Software|xreflabel="Logiciels X|g' \
-i $@
-e 's|<book>|<book lang="fr">|g' \
-i $1
/trunk/blfs/stylesheets/lfs-pdf.xsl
0,0 → 1,54
<?xml version='1.0' encoding='utf-8'?>
 
<!--
$LastChangedBy: manuel $
$Date: 2007-05-19 20:43:37 +0200 (sáb, 19 may 2007) $
-->
 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
 
<!-- LFS top-level pdf templates. -->
<xsl:import href="lfs-xsl/pdf.xsl"/>
 
<!-- The LFS book type to be processed (lfs, blfs, clfs, or hlfs) -->
<xsl:param name="book-type">lfs</xsl:param>
 
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
 
<!--
$LastChangedBy: manuel $
$Date: 2007-05-19 20:43:37 +0200 (sáb, 19 may 2007) $
-->
 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
 
<!-- LFS top-level pdf templates. -->
<xsl:import href="lfs-xsl/pdf.xsl"/>
 
<!-- The LFS book type to be processed (lfs, blfs, clfs, or hlfs) -->
<xsl:param name="book-type">lfs</xsl:param>
 
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
 
<!--
$LastChangedBy: manuel $
$Date: 2007-05-19 20:43:37 +0200 (sáb, 19 may 2007) $
-->
 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
 
<!-- LFS top-level pdf templates. -->
<xsl:import href="lfs-xsl/pdf.xsl"/>
 
<!-- The LFS book type to be processed (lfs, blfs, clfs, or hlfs) -->
<xsl:param name="book-type">lfs</xsl:param>
 
</xsl:stylesheet>
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/refentry.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/qandaset.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/graphics.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/component.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/callout.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/fop1.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/htmltbl.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/index.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/highlight.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/synop.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/ebnf.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autoidx.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/axf.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/titlepage.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pdf2index
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autoidx-ng.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autoidx-kimber.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/ptc.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/sections.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/math.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/info.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/passivetex.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pagesetup.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/annotations.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/footnote.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/lists.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/biblio.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/param.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/task.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/glossary.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xref.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/fo.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/titlepage.templates.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/keywords.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pi.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/verbatim.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/titlepage.templates.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/inline.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/spaces.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/profile-docbook.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autotoc.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/formal.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/docbook.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/fop.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/division.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/toc.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autoidx-kosek.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/biblio-iso690.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/block.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xep.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/fo-rtf.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/html/chunker.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/highlighting/common.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/en.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/refentry.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/es.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/fr.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/labels.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/utility.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/entities.ent
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/titles.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/insertfile.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/it.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targets.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/olink.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/gentext.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/subtitles.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.dtd
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targetdatabase.dtd
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/COPYING
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/profiling/xsl2profile.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/profiling/profile.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/profiling/profile-mode.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/profiling/strip-attributes.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autoidx-kosek.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/sections.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/table.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/biblio-iso690.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/math.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/block.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/info.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/footnote.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-common.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/admon.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/biblio.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/component.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/task.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/glossary.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/callout.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/html.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/manifest.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/htmltbl.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/index.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/highlight.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/keywords.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-onechunk.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/pi.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/verbatim.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/onechunk.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autoidx.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunktoc.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/inline.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-chunk-code.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-code.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/maketoc.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/annotations.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/html-rtf.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/changebars.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/refentry.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/oldchunker.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunker.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/graphics.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-chunk.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/ebnf.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.templates.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-docbook.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autotoc.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autoidx-ng.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/docbook.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autoidx-kimber.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/toc.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunkfast.xsl
File deleted
/trunk/blfs/stylesheets/lfs-xsl/chunk-master.xsl
18,10 → 18,10
<xsl:import href="chunk-slave.xsl"/>
 
<!-- Upstream chunk code named templates -->
<xsl:import href="docbook-xsl-snapshot/xhtml/chunk-common.xsl"/>
<xsl:import href="DOCBOOK_LOCATION/xhtml/chunk-common.xsl"/>
 
<!-- Upstream chunk code match templates -->
<xsl:include href="docbook-xsl-snapshot/xhtml/chunk-code.xsl"/>
<xsl:include href="DOCBOOK_LOCATION/xhtml/chunk-code.xsl"/>
 
<!-- Including our customized chunks templates -->
<xsl:include href="xhtml/lfs-index.xsl"/>
/trunk/blfs/stylesheets/lfs-xsl/chunk-slave.xsl
13,7 → 13,7
Sets global params and include customized elements templates. -->
 
<!-- Upstream XHTML presentation templates -->
<xsl:import href="docbook-xsl-snapshot/xhtml/docbook.xsl"/>
<xsl:import href="DOCBOOK_LOCATION/xhtml/docbook.xsl"/>
 
<!-- Use ISO-8859-1 for output instead of default UTF-8 -->
<xsl:param name="chunker.output.encoding" select="'UTF-8'"/>
31,7 → 31,7
The path from top-level HTML files (index.html, partX.html, etc) MUST be
fixed via a sed in the Makefile-->
<!-- Master CSS Stylesheet -->
<xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
<xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
<!-- Print CSS Stylesheet -->
<!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
<xsl:template name='user.head.content'>
/trunk/blfs/stylesheets/lfs-xsl/nochunks.xsl
13,7 → 13,7
Replaces {docbook-xsl}/xhtml/profile-docbook.xsl -->
 
<!-- Upstream XHTML templates -->
<xsl:import href="docbook-xsl-snapshot/xhtml/docbook.xsl"/>
<xsl:import href="DOCBOOK_LOCATION/xhtml/docbook.xsl"/>
 
<!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
<xsl:output method="html" encoding="UTF-8" indent="no" />
/trunk/blfs/stylesheets/lfs-xsl/pdf.xsl
14,7 → 14,7
 
<!-- Upstream FO templates. Profiled version is not supported by
xsltproc, thus pofiling must be done in two steps (see Makefile) -->
<xsl:import href="docbook-xsl-snapshot/fo/docbook.xsl"/>
<xsl:import href="DOCBOOK_LOCATION/fo/docbook.xsl"/>
 
<!-- Uncomment the next for debugging the raw FO code.
Note that FOP will complaints about a lot of paragraph overflows
/trunk/blfs/stylesheets/lfs-xsl/profile.xsl
12,11 → 12,11
Replaces {docbook-xsl}/profiling/profile.xsl -->
 
<!-- Include common profiling stylesheet -->
<xsl:import href="docbook-xsl-snapshot/profiling/profile-mode.xsl"/>
<xsl:import href="DOCBOOK_LOCATION/profiling/profile-mode.xsl"/>
 
<!-- This file must be included, because profile-mode is using
templates from it -->
<xsl:import href="docbook-xsl-snapshot/common/stripns.xsl"/>
<xsl:import href="DOCBOOK_LOCATION/common/stripns.xsl"/>
 
<!-- In the two pass processing there is no need for base URI fixup -->
<xsl:param name="profile.baseuri.fixup" select="false()"/>