| 12 |
# ------------------------------------------------------------------- # |
# ------------------------------------------------------------------- # |
| 13 |
# Read local texmf.cnf file |
# Read local texmf.cnf file |
| 14 |
|
|
|
export PATH:=../quick-reference/bin/:${PATH} |
|
|
|
|
|
# Woodys default LaTeX settings need more memory for en PDF |
|
|
export TEXMFCNF:=../quick-reference/texmf/: |
|
|
|
|
| 15 |
.SUFFIXES: |
.SUFFIXES: |
| 16 |
|
|
| 17 |
# Following default shall be edited by the coordinator for the entire |
# Following default shall be edited by the coordinator for the entire |
| 42 |
# List of languages built for "distclean" target for DDP: |
# List of languages built for "distclean" target for DDP: |
| 43 |
LANGSALL := en de fr es it ru ja zh-cn |
LANGSALL := en de fr es it ru ja zh-cn |
| 44 |
# List of languages built for "publish" target for DDP |
# List of languages built for "publish" target for DDP |
| 45 |
LANGS := en de fr es it ru ja zh-cn |
LANGS := en de fr pt-br |
| 46 |
|
# This are all the languages, not all are compiled for DDP |
| 47 |
|
# due to them being out of dte |
| 48 |
|
#LANGS := en de fr es it ru ja zh-cn pt-br |
| 49 |
|
|
| 50 |
# Files which affect SGML generation (excluding *.sgml) |
# Files which affect SGML generation (excluding *.sgml) |
| 51 |
SGMLENTS := custom.ent default.ent |
SGMLENTS := custom.ent default.ent |
| 124 |
$(MANUAL).%.html.stamp: $(MANUAL).%.sgml $(MANUAL).%.ent $(SGMLSRCS) |
$(MANUAL).%.html.stamp: $(MANUAL).%.sgml $(MANUAL).%.ent $(SGMLSRCS) |
| 125 |
debiandoc2html -l $(locale) -c $< |
debiandoc2html -l $(locale) -c $< |
| 126 |
# since $(MANUAL).%.html/index.%.html cannot be a target file |
# since $(MANUAL).%.html/index.%.html cannot be a target file |
| 127 |
@for file in `ls $(MANUAL).$*.html/*` ; do\ |
@for file in `ls $(MANUAL).$*.html/*` ; do \ |
| 128 |
newfile=`echo $$file|\ |
newfile=`echo $$file|\ |
| 129 |
sed 's/$(shell echo $*|\ |
sed 's/$(shell echo $*|\ |
| 130 |
sed 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ_/abcdefghijklmnopqrstuvwxyz-/'\ |
sed 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ_/abcdefghijklmnopqrstuvwxyz-/'\ |
| 131 |
)\.html/$*\.html/'`;\ |
)\.html/$*\.html/'`; \ |
| 132 |
if [ $$file != $$newfile ] ; then\ |
if [ $$file != $$newfile ] ; then \ |
| 133 |
mv $$file $$newfile;\ |
mv $$file $$newfile; \ |
| 134 |
echo "Rename $$file --> $$newfile";\ |
echo "Rename $$file --> $$newfile"; \ |
| 135 |
fi\ |
fi \ |
| 136 |
done |
done |
| 137 |
touch $(MANUAL).$*.html.stamp |
touch $(MANUAL).$*.html.stamp |
| 138 |
|
|