/[gzz]/manuscripts/UMLLink/Makefile
ViewVC logotype

Diff of /manuscripts/UMLLink/Makefile

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

revision 1.6 by humppake, Wed Feb 12 17:30:21 2003 UTC revision 1.7 by tuukkah, Fri Feb 14 13:26:06 2003 UTC
# Line 1  Line 1 
1  DIA_TARGETS=$(shell for file in *.dia; do echo $${file%.dia}.gen.png; done)  DIA_TARGETS=$(shell for file in *.dia; do echo $${file%.dia}.gen.eps; done)
2  RST_TARGETS=$(shell for file in *.rst; do echo $${file%.rst}.gen.pdf; done)  RST_TARGETS=$(shell for file in *.rst; do echo $${file%.rst}.gen.pdf; done)
3    LATEX_DEPS=$(DIA_TARGETS)
4    
5  all: $(DIA_TARGETS) $(RST_TARGETS)  all: $(DIA_TARGETS) $(RST_TARGETS)
6    
# Line 10  clean: Line 11  clean:
11          rm -f *.gen.* *.~*          rm -f *.gen.* *.~*
12    
13  %.gen.pdf: %.gen.ps  %.gen.pdf: %.gen.ps
14          ps2pdf $*.gen.ps $*.gen.pdf          ps2pdf $< $@
15    
16  #%.gen.pdf: %.gen.latex  %.gen.pdf: %.gen.eps
17            ps2pdf $< $@
18    
19    #%.gen.pdf: %.gen.latex $(LATEX_DEPS)
20  #       pdflatex $*.gen.latex  #       pdflatex $*.gen.latex
21  #       BIBINPUTS=..:$$BIBINPUTS bibtex $*.gen  #       BIBINPUTS=..:$$BIBINPUTS bibtex $*.gen
22  #       pdflatex $*.gen.latex  #       pdflatex $*.gen.latex
23    
24  %.gen.dvi: %.gen.latex  %.gen.dvi: %.gen.latex $(LATEX_DEPS)
25          latex $*.gen.latex          latex $<
26          BIBINPUTS=..:$$BIBINPUTS bibtex $*.gen          BIBINPUTS=..:$$BIBINPUTS bibtex $*.gen
27          latex $*.gen.latex          latex $<
28    
29  %.gen.ps: %.gen.dvi  %.gen.ps: %.gen.dvi
30          dvips $*.gen.dvi -o $*.gen.ps          dvips $< -o $@
31    
32  %.gen.latex: %.rst  %.gen.latex: %.rst
33          $(MAKE) -C ../../gzz rst RST="../manuscripts/UMLLink/$*.rst"          $(MAKE) -C ../../gzz rst RST="../manuscripts/UMLLink/$<"
34    
35  %.gen.html: %.rst  %.gen.html: %.rst
36          $(MAKE) -C ../../gzz rst RST="../manuscripts/UMLLink/$*.rst"          $(MAKE) -C ../../gzz rst RST="../manuscripts/UMLLink/$<"
37    
38  %.gen.png: %.dia  %.gen.png: %.dia
39          dia -n -e $@ $<          dia -n -e $@ $<
40    
41    %.gen.eps: %.dia
42            dia -n -e $@ $<

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26