be02514ee7798848025802e078cd10906b3a7366
[deliverable/titan.core.git] / usrguide / Makefile
1 ###############################################################################
2 # Copyright (c) 2000-2014 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
7 ###############################################################################
8 # Makefile for the TITAN User Guide
9
10 TOP := ..
11 include ../Makefile.cfg
12
13 .SUFFIXES: .tex .labels .dvi .ps .pdf
14
15 TITAN_DOCS := apiguide.doc userguide.doc installationguide.doc referenceguide.doc releasenotes.doc
16
17 TITAN_PDFS := $(TITAN_DOCS:.doc=.pdf)
18
19 ifeq ($(GEN_PDF), yes)
20
21 install: $(TITAN_PDFS)
22 ifdef MINGW
23 $(info Skipped ${CURDIR} for MinGW)
24 else
25 mkdir -p $(DOCDIR)
26 cp $(TITAN_PDFS) $(DOCDIR)
27 endif
28
29 %.pdf : %.doc
30 @for doc in $(TITAN_DOCS:.doc=); do \
31 java -jar ../../titan_playground/jar/doc2pdf.jar $(addsuffix .doc, $$doc) $(addsuffix .pdf, $$doc) || exit; \
32 done
33
34 else
35 install:
36 endif
37
38 release:
39 $(MAKE) install GEN_PDF=yes
40
41 all run:
42
43 clean:
44
45 distclean:clean
46
47 dep:
This page took 0.041978 seconds and 4 git commands to generate.