root/juggler/branches/2.0_alpha_4/doc/doxygen.mk

Revision 14593, 2.4 kB (checked in by patrickh, 5 years ago)

Fixed a ridiculous circular dependency for a target.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # ************** <auto-copyright.pl BEGIN do not edit this line> **************
2 #
3 # VR Juggler is (C) Copyright 1998-2003 by Iowa State University
4 #
5 # Original Authors:
6 #   Allen Bierbaum, Christopher Just,
7 #   Patrick Hartling, Kevin Meinert,
8 #   Carolina Cruz-Neira, Albert Baker
9 #
10 # This library is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU Library General Public
12 # License as published by the Free Software Foundation; either
13 # version 2 of the License, or (at your option) any later version.
14 #
15 # This library is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 # Library General Public License for more details.
19 #
20 # You should have received a copy of the GNU Library General Public
21 # License along with this library; if not, write to the
22 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 # Boston, MA 02111-1307, USA.
24 #
25 # -----------------------------------------------------------------
26 # File:          $RCSfile$
27 # Date modified: $Date$
28 # Version:       $Revision$
29 # -----------------------------------------------------------------
30 #
31 # *************** <auto-copyright.pl END do not edit this line> ***************
32
33 DOXYGEN?=               doxygen
34 HTML_OUTPUT_DIR?=       html
35 LATEX_OUTPUT_DIR?=      latex
36 MAN_OUTPUT_DIR?=        man
37 RTF_OUTPUT_DIR?=        rtf
38
39 RM=             rm -f
40
41 html: $(HTML_DOXYGEN_FILE)
42         $(DOXYGEN) $(HTML_DOXYGEN_FILE)
43
44 man: $(MAN_DOXYGEN_FILE)
45         $(DOXYGEN) $(MAN_DOXYGEN_FILE)
46
47 latex: $(LATEX_DOXYGEN_FILE)
48         $(DOXYGEN) $(LATEX_DOXYGEN_FILE)
49
50 ps: $(LATEX_OUTPUT_DIR)
51         $(MAKE) -C $(LATEX_OUTPUT_DIR) ps
52
53 pdf: $(LATEX_OUTPUT_DIR)
54         $(MAKE) -C $(LATEX_OUTPUT_DIR) pdf
55
56 rtf:
57         $(DOXYGEN) $(RTF_DOXYGEN_FILE)
58
59 install-html:
60         if [ ! -d $(prefix) ]; then mkdir -p $(prefix); fi
61         cp -r $(HTML_OUTPUT_DIR)/* $(prefix)
62
63 install-ps:
64         if [ ! -d $(prefix) ]; then mkdir -p $(prefix); fi
65         cp $(LATEX_OUTPUT_DIR)/refman.ps $(prefix)
66
67 install-pdf:
68         if [ ! -d $(prefix) ]; then mkdir -p $(prefix); fi
69         cp $(LATEX_OUTPUT_DIR)/refman.pdf $(prefix)
70
71 clean:
72 ifneq ($(CLEAN_FILES), )
73         $(RM) $(CLEAN_FILES)
74 endif
75 ifneq ($(CLEAN_DIRS), )
76         $(RM) -r $(CLEAN_DIRS)
77 endif
78
79 clobber:
80         @$(MAKE) clean
81 ifneq ($(CLOBBER_FILES), )
82         $(RM) $(CLOBBER_FILES)
83 endif
84         $(RM) -r $(HTML_OUTPUT_DIR) $(MAN_OUTPUT_DIR)                   \
85           $(LATEX_OUTPUT_DIR) $(RTF_OUTPUT_DIR) $(CLOBBER_DIRS)
Note: See TracBrowser for help on using the browser.