root/juggler/branches/1.0/Doc/makefile

Revision 8053, 2.5 kB (checked in by patrickh, 7 years ago)

phpjug —> jugglerweb

  • 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, 1999, 2000 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 include subdirs.mk
34
35 top_srcdir = ..
36
37 PERCEPS_DIR = .
38 PERCEPS= perl $(PERCEPS_DIR)/bin/perceps
39 FILTERS = ./filters
40 TEMPLATES_INT = ./templates/internal
41 TEMPLATES_PUB = ./templates/public
42
43 SRC_EX = ExampleClass.h ExampleClass.C
44 OUT_INT = ./internal_doc
45 OUT_PUB = ./public_doc
46 OUT_EX = ./ex_html
47 JAVA_CLASS = $(PERCEPS_DIR)/classes
48
49 # Fill these two in!!  Together, they form the installation prefix.
50 webroot=        $(HOME)/public_html/jugglerweb
51 instdir=        vrjuggler/1.0/programmer.reference
52
53 prefix_pub=     $(webroot)/$(instdir)
54 prefix_int=     $(webroot)/$(instdir).internal
55
56 docs: doc-internal doc-public
57
58 doc-internal:
59         $(PERCEPS) -a -b -c -h -f -d $(OUT_INT) -F $(FILTERS)           \
60           -t $(TEMPLATES_INT) $(SUBDIRS)
61         cp $(JAVA_CLASS)/*.class $(OUT_INT)
62
63 doc-public:
64         $(PERCEPS) -a -b -c -h -f -d $(OUT_PUB) -F $(FILTERS)           \
65           -t $(TEMPLATES_PUB) $(SUBDIRS)
66
67 install-docs: install-doc-internal install-doc-public
68
69 install-doc-internal:
70         if [ ! -d $(prefix_int) ]; then mkdir -p $(prefix_int) ; fi
71         mv $(OUT_INT)/* $(prefix_int)/
72
73 install-doc-public:
74         if [ ! -d $(prefix_pub) ]; then mkdir -p $(prefix_pub) ; fi
75         mv $(OUT_PUB)/* $(prefix_pub)/
76
77 clean:
78         @ if [ -f $(OUT_PUB)/* ]; then rm $(OUT_PUB)/*; fi
79         @ if [ -f $(OUT_INT)/* ]; then rm $(OUT_INT)/*; fi
Note: See TracBrowser for help on using the browser.