/[mcclim]/mcclim/Doc/Guided-Tour/Makefile
ViewVC logotype

Contents of /mcclim/Doc/Guided-Tour/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Mon Jun 26 09:34:10 2006 UTC (7 years, 9 months ago) by rschlatte
Branch: MAIN
Changes since 1.1: +4 -4 lines
Use GNU awk explicitly when building the Guided Tour document.
1 cfruhwirth 1.1 #!/usr/bin/make
2    
3     guided-tour.dvi: guided-tour.tex hello-world.cut draw-frame.cut scheduler.cut file-browser.cut techno-dep.pstex_t techno-dep.pstex
4     latex guided-tour.tex
5     bibtex guided-tour
6     latex guided-tour.tex
7     latex guided-tour.tex
8    
9     %.pstex: %.fig
10     fig2dev -L pstex $(value $@) -b 0 $< $@
11    
12     %.pstex_t: %.pstex %.fig
13     fig2dev -L pstex_t $(value $@) -E 1 -p $^ $@
14    
15     %.cut: %.lisp
16 rschlatte 1.2 gawk '/LTAG-end/ { found=found " " active; active="" } \
17     { if (active!="") print $$active > active} \
18     /LTAG-start/ { split($$2,foo,":"); active=foo[2] } \
19     END { print found }' $<
20 cfruhwirth 1.1
21     .PHONY: clean
22    
23     clean:
24     rm guided-tour.aux guided-tour.bbl guided-tour.log guided-tour.dvi guided-tour.blg hello-world-def-app hello-world-defclass hello-world-handle-repaint scheduler-part1 scheduler-part2 techno-dep.pstex techno-dep.pstex_t file-browser-all draw-frame-interfacing draw-frame-def-app draw-frame-commands

  ViewVC Help
Powered by ViewVC 1.1.5