ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/corbaservices/Makefile
Revision: 1.6
Committed: Tue May 29 22:00:59 2001 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.5: +7 -4 lines
Log Message:
Changed some static references to "build" to $(BUILD), and made the install
target fully install :) (was missing out etc)

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for corbaservices
2 tdb 1.6 # $Id: Makefile,v 1.5 2001/05/29 17:24:12 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.4 javadoc -d $(SOURCEROOT)/$(DOCDIR) -sourcepath $(SOURCEROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -header $(JDHEADER) $(PKGLIST)
56 tdb 1.1
57     include $(MKINC)