~karl-schock/ubuntu-desktop-course/ubuntu-desktop-course-german

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Torsten Spindler
  • Date: 2007-10-28 20:49:33 UTC
  • Revision ID: torsten@canonical.com-20071028204933-kwyzfzocdcrmarpq
Use make book to create coursebook

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
        CURDIR = $(shell pwd)
10
10
endif
11
11
 
 
12
BOOKTARGET = desktop-course-book.pdf
 
13
BOOKSOURCE = desktop-course-book.xml
12
14
DIRTARGETS = $(addsuffix stamp,$(wildcard */))
13
15
HTMLTARGETS = $(addsuffix .html,$(basename $(wildcard *.xml))) 
14
16
PDFTARGETS = $(addsuffix .pdf,$(basename $(wildcard *.xml))) 
30
32
%.html: %.xml $(XSL)
31
33
        @$(XSLTPROC) -o $@ $(XSL) $<
32
34
 
 
35
book: 
 
36
        @$(DBLATEX) -tpdf -o $(BOOKTARGET) -Ichapter1 -Ichapter2 -Ichapter3 -Ichapter4 -Ichapter5 -Ichapter6 -Ichapter7 -Ichapter8 -Ichapter9 -Ichapter10 -Ichapter11 $(BOOKSOURCE)
 
37
 
33
38
clean:
34
39
         @rm -f *.html *.pdf */*.html */*.pdf
35
40