source: 1dwg/trunk/doc/Makefile @ 93

Last change on this file since 93 was 93, checked in by prjemian, 12 years ago

make manual.pdf

  • Property svn:keywords set to Date Revision Author HeadURL Id
File size: 1.1 KB
Line 
1#   File: Makefile
2
3# LICENSE
4
5########### SVN repository information ###################
6# $Date: 2008$
7# $Author$
8# $Revision$
9# $HeadURL$
10# $Id$
11########### SVN repository information ###################
12
13# purpose:
14#       manage various resources in this directory
15
16# Usage:
17#       make            default (1st) rule: same as "make all"
18#       make all        builds docbook and BaseClassSections.xml
19#       make docbook    builds all DocBook sections
20#       make clean      removes files built in this directory
21#       make rebuild    does a make clean then make all
22
23RELEASE = 1.0
24TARGET = cansas-1d-$(RELEASE)-Manual.pdf
25
26CLEANING_LIST += $(TARGET)
27#CLEANING_LIST += *.pdf
28#CLEANING_LIST += *.html
29#CLEANING_LIST += *.ps
30
31# === Rules ===
32
33all: docbook
34
35docbook : $(TARGET)
36
37test ::
38        @echo $(CLEANING_LIST)
39
40# dblatex.sf.net can be used to build a PDF version of the manual
41dblatex manual.pdf ::
42        @#dblatex -P table.in.float=0 -ttex manual.xml
43        dblatex -P table.in.float=0 -b pdftex -tpdf manual.xml
44        @#pdftops $< temporary-manual.ps
45        @#ps2pdf temporary-manual.ps $<
46
47manual.ps ::manual.pdf
48        pdftops $<
49
50clean ::
51        /bin/rm -f $(CLEANING_LIST)
52
53rebuild :: clean all
Note: See TracBrowser for help on using the repository browser.