/[ddp]/manuals/trunk/release-notes/Makefile
ViewVC logotype

Diff of /manuals/trunk/release-notes/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5325 by debacle, Thu Aug 7 05:30:26 2008 UTC revision 5326 by debacle, Thu Aug 7 05:42:10 2008 UTC
# Line 20  endif Line 20  endif
20    
21  #LANGUAGES := en ca cs de es fi fr it ja pl pt_BR pt_PT ro ru sv zh_TW  #LANGUAGES := en ca cs de es fi fr it ja pl pt_BR pt_PT ro ru sv zh_TW
22  LANGUAGES := en de es  LANGUAGES := en de es
23    XMLROFF_LANGS=cs ja pl ro ru vi zh_CN en
24    
25  LANGUAGES-publish := $(addsuffix -publish,$(LANGUAGES))  LANGUAGES-publish := $(addsuffix -publish,$(LANGUAGES))
26  LANGUAGES-clean := $(addsuffix -clean,$(LANGUAGES))  LANGUAGES-clean := $(addsuffix -clean,$(LANGUAGES))
# Line 38  DBK2HTML=$(CURDIR)/html.xsl Line 39  DBK2HTML=$(CURDIR)/html.xsl
39  DBK2HTML1=$(CURDIR)/txt.xsl  DBK2HTML1=$(CURDIR)/txt.xsl
40  DBLATEX=dblatex --style=db2latex  DBLATEX=dblatex --style=db2latex
41  PROFILE=$(DOCBOOK_XSL)/profiling/profile.xsl  PROFILE=$(DOCBOOK_XSL)/profiling/profile.xsl
42    XMLROFF=xmlroff --backend cairo
43    
44  # po4a stuff  # po4a stuff
45  UPDATEPO=po4a-updatepo --format docbook  UPDATEPO=po4a-updatepo --format docbook
# Line 102  $(LINGUA)/$(manual).$(LINGUA).html/index Line 104  $(LINGUA)/$(manual).$(LINGUA).html/index
104          cd $(LINGUA) && $(XP) -o $(manual).$(LINGUA).html/ \          cd $(LINGUA) && $(XP) -o $(manual).$(LINGUA).html/ \
105              $(DBK2HTML) $(manual).$(architecture).xml              $(DBK2HTML) $(manual).$(architecture).xml
106    
 # TODO: add xmlroff for the languages which dblatex cannot yet handle  
107  pdf: $(LINGUA)/release-notes.pdf  pdf: $(LINGUA)/release-notes.pdf
108  $(LINGUA)/release-notes.pdf: $(LINGUA)/$(manual).$(architecture).xml  $(LINGUA)/release-notes.pdf: $(LINGUA)/$(manual).$(architecture).xml fo.xsl
109          TOP=`pwd` && cd $(@D) && $(DBLATEX) --output=$(@F) $(<F)          USE_XR=`echo " $(XMLROFF_LANGS) " | grep " $(LINGUA) "`; \
110            if [ -n "$$USE_XR" ]; then \
111                $(XMLROFF) -o $@ $< fo.xsl; \
112            else \
113                $(DBLATEX) --output=$@ $<; \
114            fi
115    
116  txt: $(LINGUA)/release-notes.txt  txt: $(LINGUA)/release-notes.txt
117  $(LINGUA)/release-notes.txt: $(LINGUA)/$(manual).$(architecture).xml  $(LINGUA)/release-notes.txt: $(LINGUA)/$(manual).$(architecture).xml

Legend:
Removed from v.5325  
changed lines
  Added in v.5326

  ViewVC Help
Powered by ViewVC 1.1.5