~gary/launchpad/prodprepbuildout

« back to all changes in this revision

Viewing changes to doc/bazaar/Makefile

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-03-09 16:31:11 UTC
  • mfrom: (9072.1.6 max-heat-from-context)
  • Revision ID: launchpad@pqm.canonical.com-20100309163111-2n17zsb7myoz34kf
[release-critical=flacoste][r=abel][ui=none][bug=531443] In bug
        listings, use the current context, rather than the bugtask target,
        to determine the maximum bug heat to use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
LARGE_PNG:=$(patsubst %.dia,%.png,$(shell cd large-dia; ls *.dia))
2
 
ALL_PNG:=$(patsubst %.dia,%.png,$(shell cd dia; ls *.dia)) $(LARGE_PNG)
3
 
 
4
 
html: png bazaar.html
5
 
 
6
 
ps: bazaar.ps
7
 
 
8
 
png: $(ALL_PNG)
9
 
 
10
 
clean:
11
 
        rm -f bazaar.html
12
 
        rm -f *~
13
 
        rm -f bazaar.ps
14
 
        rm -f *.png
15
 
 
16
 
%.html: html.xsl %.tmml
17
 
        xsltproc $^ > $@
18
 
 
19
 
%.ps: %.tmml png
20
 
        texmacs -c $< $@ -x '(quit-TeXmacs)'
21
 
 
22
 
%.tmml: %.tm
23
 
        texmacs -c $< $@  -x '(quit-TeXmacs))'
24
 
 
25
 
%.png: dia/%.dia
26
 
        rm -f $@
27
 
        dia -e $@ $^ > /dev/null 2>&1
28
 
 
29
 
png_size=$(shell echo $(1) | join -o 2.2 - large-dia/sizes)
30
 
 
31
 
%.png: large-dia/%.dia
32
 
        rm -f $@
33
 
        dia -e $@ -s $(call png_size,$@) $< > /dev/null 2>&1
34
 
 
35
 
large-dia/sizes: $(LARGE_PNG)
36
 
        ./write-sizes $@ $^
37
 
 
38
 
 
39
 
.PHONY: html ps png clean