root/juggler/tags/2.0.0/Makefile.docs

Revision 16738, 3.7 kB (checked in by patrickh, 4 years ago)

Echo directory changes while looping over the subdirectories.

  • 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-2005 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 # =============================================================================
34 # This file is used only for generating and installing documentation.  The
35 # variable $(webroot) should be assigned an appropriate value in order for
36 # an installation to work correctly.
37 # -----------------------------------------------------------------------------
38 # This makefile requires the use of GNU make.
39 # =============================================================================
40
41 # ******** Fill these in!! ********
42 webroot=        $(HOME)/public_html/jugglerweb
43 distroot=       $(HOME)/vrj-docs.dist
44 # *********************************
45
46 SUBDIR=         doc/build.system                                \
47                 modules/gadgeteer/doc                           \
48                 modules/gadgeteer/doc/device.driver.guide       \
49                 modules/jackal/doc                              \
50                 modules/sonix/doc                               \
51                 modules/tweek/doc                               \
52                 modules/tweek/doc/programmer.guide              \
53                 modules/vapor/doc                               \
54                 modules/vapor/doc/programmer.guide              \
55                 modules/vrjuggler/doc/doxy                      \
56                 modules/vrjuggler/doc/getting.started.guide     \
57                 modules/vrjuggler/doc/programmer.guide
58
59 JAVADOC_SUBDIR= modules/tweek/java              \
60                 modules/jackal                  \
61                 modules/vrjuggler/vrjconfig
62
63 all:
64         @for dir in $(SUBDIR) ; do                              \
65             echo "===> $$dir" ;                                 \
66             $(MAKE) -C $$dir docs || exit 1;                    \
67             echo "<=== $$dir" ;                                 \
68           done
69         @for dir in $(JAVADOC_SUBDIR) ; do                      \
70             echo "===> $$dir" ;                                 \
71             $(MAKE) -C $$dir -f Makefile.docs docs || exit 1;   \
72             echo "<=== $$dir" ;                                 \
73           done
74
75 install:
76         @for dir in $(SUBDIR) ; do                                      \
77             echo "===> $$dir" ;                                         \
78             $(MAKE) -C $$dir webroot=$(webroot) install-docs || exit 1; \
79             echo "<=== $$dir" ;                                         \
80           done
81         @for dir in $(JAVADOC_SUBDIR) ; do                              \
82             echo "===> $$dir" ;                                         \
83             $(MAKE) -C $$dir -f Makefile.docs install-docs || exit 1;   \
84             echo "<=== $$dir" ;                                         \
85           done
86
87 .PHONY: release
88
89 release:
90         -[ ! -d "$(distroot)" ] && mkdir -p "$(distroot)"
91         cp doc/dist/index.html "$(distroot)/"
92         cp "$(webroot)/base_style.css" "$(distroot)/"
93         $(MAKE) -f Makefile.docs webroot="$(distroot)" install
94
95 clobber:
96         @for dir in $(SUBDIR) ; do                                      \
97             echo "===> $$dir" ;                                         \
98             $(MAKE) -C $$dir clobber || exit 1;                         \
99             echo "<=== $$dir" ;                                         \
100           done
101         for dir in $(JAVADOC_SUBDIR) ; do                               \
102             echo "===> $$dir" ;                                         \
103             $(MAKE) -C $$dir -f Makefile.docs clobber || exit 1;        \
104             echo "<=== $$dir" ;                                         \
105           done
Note: See TracBrowser for help on using the browser.