ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/corbaservices/Makefile
Revision: 1.7
Committed: Sat Feb 9 17:04:33 2002 UTC (22 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.6: +2 -2 lines
Log Message:
Improved the javadoc generation in the Makefile setup. Now matches the ANT
javadoc output. Also added links to external javadoc (such as pircbot) to
make the pages more complete.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for corbaservices
2 tdb 1.7 # $Id: Makefile,v 1.6 2001/05/29 22:00:59 tdb1 Exp $
3 tdb 1.1
4     include Config.inc
5    
6     all : build
7    
8     code :
9 tdb 1.5 cd uk/org/iscream/cms/corbaservices && $(MAKE) all
10 tdb 1.1
11     build : code
12 tdb 1.6 cd $(BUILD) && $(MAKE) package
13 tdb 1.1
14     run : build
15 tdb 1.6 cd $(BUILD) && ./run.sh
16 tdb 1.1
17     clean :
18 tdb 1.6 cd $(BUILD) && $(MAKE) clean
19 tdb 1.5 cd uk/org/iscream/cms/corbaservices && $(MAKE) clean
20 tdb 1.1 rm -Rf $(BUILDCHECK)
21     rm -Rf $(CVSBUILDTEMP)
22 tdb 1.4 rm -Rf $(DOCDIR)
23 tdb 1.1
24     distclean : clean
25     cd $(BUILD) && rm -f $(CLPATH)
26     rm -f Config.inc
27    
28     install : build
29     @echo "-------------------------------------------------------"
30     @echo "Installing to $(INSTALL)"
31     @echo " copying $(PACKAGE) to $(INSTALL)"
32     mkdir -p $(INSTALL)
33     cp $(BUILD)/$(PACKAGE) $(INSTALL)
34 tdb 1.6 @echo " copying etc to $(INSTALL)/etc"
35     mkdir -p $(INSTALL)/etc
36     cp $(BUILD)/etc/*.conf $(INSTALL)/etc
37 tdb 1.1 @echo " copying libs to $(INSTALL)/lib"
38     mkdir -p $(INSTALL)/lib
39     cp $(LIBDIR)/*.jar $(INSTALL)/lib
40     @echo " copying scripts to $(INSTALL)"
41     cp $(BUILD)/run.sh $(INSTALL)
42     cp $(BUILD)/run.bat $(INSTALL)
43     @echo "Completed install to $(INSTALL)"
44     @echo "-------------------------------------------------------"
45    
46     cvsbuild :
47 tdb 1.2 $(CVS) -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSMODULE)
48 tdb 1.1 cd $(CVSBUILDTEMP) && ./configure
49     cd $(CVSBUILDTEMP) && $(MAKE) build
50     cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT)
51     cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT)
52    
53     javadoc :
54     if test ! -d "$(DOCDIR)"; then mkdir $(DOCDIR); fi
55 tdb 1.7 javadoc -d $(SOURCEROOT)/$(DOCDIR) -sourcepath $(SOURCEROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -use -header $(JDHEADER) -bottom $(JDBOTTOM) -link $(JDJAPI) $(PKGLIST)
56 tdb 1.1
57     include $(MKINC)