/[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 5326 by debacle, Thu Aug 7 05:42:10 2008 UTC revision 5327 by debacle, Thu Aug 7 06:05:16 2008 UTC
# Line 99  endif Line 99  endif
99  ifdef LINGUA  ifdef LINGUA
100  html: $(LINGUA)/$(manual).$(LINGUA).html/index.html  html: $(LINGUA)/$(manual).$(LINGUA).html/index.html
101  $(LINGUA)/$(manual).$(LINGUA).html/index.html: \  $(LINGUA)/$(manual).$(LINGUA).html/index.html: \
102                  $(LINGUA)/$(manual).$(architecture).xml                  $(LINGUA)/$(manual).$(architecture).xml html.xsl
103          mkdir -p $(LINGUA)/$(manual).$(LINGUA).html          mkdir -p $(LINGUA)/$(manual).$(LINGUA).html
104          cd $(LINGUA) && $(XP) -o $(manual).$(LINGUA).html/ \          cd $(LINGUA) && $(XP) -o $(manual).$(LINGUA).html/ \
105              $(DBK2HTML) $(manual).$(architecture).xml              $(DBK2HTML) $(manual).$(architecture).xml
# Line 114  $(LINGUA)/release-notes.pdf: $(LINGUA)/$ Line 114  $(LINGUA)/release-notes.pdf: $(LINGUA)/$
114          fi          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 txt.xsl
118          $(XP) $(DBK2HTML1) $< \          $(XP) $(DBK2HTML1) $< \
119              | w3m -cols 70 -dump -no-graph -T text/html > $@              | w3m -cols 70 -dump -no-graph -T text/html > $@
120    
121  # profiling for architecture, needed by all output formats  # profiling for architecture, needed by all output formats
122  $(LINGUA)/$(manual).$(architecture).xml: \  $(LINGUA)/$(manual).$(architecture).xml: \
123                  $(patsubst en/%,$(LINGUA)/%,$(SOURCES)) \                  $(patsubst en/%,$(LINGUA)/%,$(SOURCES))
                 $(LINGUA)/dynamic.ent $(LINGUA)/release-notes.ent txt.xsl  
124          $(XP) --stringparam profile.arch $(architecture) $(PROFILE) \          $(XP) --stringparam profile.arch $(architecture) $(PROFILE) \
125              $(@D)/$(manual).dbk > $@              $(@D)/$(manual).dbk > $@
126  endif  endif
# Line 136  FORCE: Line 135  FORCE:
135  else  else
136  $(LINGUA)/%.dbk:        en/%.dbk  $(LINGUA)/%.dbk:        en/%.dbk
137          $(TRANSLATE) --master $< --po $(@:.dbk=.po) --localized $@          $(TRANSLATE) --master $< --po $(@:.dbk=.po) --localized $@
   
 $(LINGUA)/%.ent:        %.ent  
         cd $(@D) && ln -sf ../$(@F) .  
138  endif  endif
139    
140  ifdef LINGUA  ifdef LINGUA
# Line 148  $(LINGUA)/%.po:                en/%.dbk Line 144  $(LINGUA)/%.po:                en/%.dbk
144          echo $(UPDATEPO) --master $< --po $@          echo $(UPDATEPO) --master $< --po $@
145  endif  endif
146    
147    tidypo:
148            for po in $(wildcard */*.po); do \
149                msgcat $$po > $$po.tmp && mv $$po.tmp $$po; \
150            done
151    
152  ifndef LINGUA  ifndef LINGUA
153  %:  %:
154          for l in $(LANGUAGES); do \          for l in $(LANGUAGES); do \

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

  ViewVC Help
Powered by ViewVC 1.1.5