Salome HOME
Initial version
[modules/gui.git] / doc / salome / DevelopersGuide / Makefile.in
1 #  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
3
4 #  This library is free software; you can redistribute it and/or 
5 #  modify it under the terms of the GNU Lesser General Public 
6 #  License as published by the Free Software Foundation; either 
7 #  version 2.1 of the License. 
8
9 #  This library is distributed in the hope that it will be useful, 
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 #  Lesser General Public License for more details. 
13
14 #  You should have received a copy of the GNU Lesser General Public 
15 #  License along with this library; if not, write to the Free Software 
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
17
18 #  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
19 #
20 #
21 #
22 #  File   : Makefile.in
23 #  Author : Patrick GOLDBRONN (CEA)
24 #  Module : doc
25 #  $Header$
26
27 top_srcdir=@top_srcdir@
28 top_builddir=../../..
29 srcdir=@srcdir@
30 VPATH=.:@srcdir@
31
32
33 TEX=DevelopersGuide.tex
34 TEX_PS=$(TEX:%.tex=%.ps)
35 TEX_PDF=$(TEX:%.tex=%.pdf)
36
37 .SUFFIXES: .tex .dvi .ps .pdf
38
39 docs: $(TEX_PS) clean $(TEX_PDF) clean
40
41 clean:
42         \rm -f *~ *.bak *.aux *.log *.dvi *.toc $(TEX:%.tex=%.out)
43         \rm -f dummy thumb*
44
45 distclean: clean
46         \rm -f $(TEX_PS) $(TEX_PDF)
47
48 install:
49
50 #implicits rules
51 .tex.dvi: clean
52         @[ "x@LATEX@" != "x" ] && [ latex $< ] || \
53         echo "Can'not execute .tex.dvi rule"
54
55 .dvi.ps:
56         @[ "x@DVIPS@" != "x" ] && [ dvips $< -o $@ ] || \
57         echo "Can'not execute .dvi.ps rule"
58
59 .tex.pdf: clean
60         @[ "x@PDFLATEX@" != "x" ] && [ pdflatex $< ] || \
61         echo "Can'not execute .tex.pdf rule"
62