ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/Makefile
Revision: 1.8
Committed: Tue May 29 17:41:28 2001 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.7: +3 -3 lines
Log Message:
The last of the central monitoring system packages to be changed to the newer
structure. It has changed from;

uk.org.iscream.conient.*

to;

uk.org.iscream.cms.conient.*

This is in keeping with the new style of packaging.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for conient
2 tdb 1.8 # $Id: Makefile,v 1.7 2001/03/26 21:48:28 tdb1 Exp $
3 tdb 1.1
4     include Config.inc
5    
6     all : build
7    
8     code :
9 tdb 1.8 cd uk/org/iscream/cms/conient && $(MAKE) all
10 tdb 1.1
11     build : code
12     cd build && $(MAKE) package
13    
14     run : build
15     cd build && ./run.sh
16    
17     clean :
18     cd build && $(MAKE) clean
19 tdb 1.8 cd uk/org/iscream/cms/conient && $(MAKE) clean
20 tdb 1.1 rm -Rf $(BUILDCHECK)
21     rm -Rf $(CVSBUILDTEMP)
22 tdb 1.7 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 ajm 1.3 @echo " copying configuration to $(INSTALL)/etc
35     mkdir -p $(INSTALL)/etc
36     cp $(ETCDIR)/*.conf $(INSTALL)/etc
37     @echo " copying resources to $(INSTALL)/resources
38     mkdir -p $(INSTALL)/resources
39 pjm2 1.6 cp $(RESOURCESDIR)/*.gif $(INSTALL)/resources
40 tdb 1.1 @echo " copying libs to $(INSTALL)/lib"
41     mkdir -p $(INSTALL)/lib
42     cp $(LIBDIR)/*.jar $(INSTALL)/lib
43     @echo " copying scripts to $(INSTALL)"
44     cp $(BUILD)/run.sh $(INSTALL)
45     cp $(BUILD)/run.bat $(INSTALL)
46     @echo "Completed install to $(INSTALL)"
47     @echo "-------------------------------------------------------"
48    
49     cvsbuild :
50 tdb 1.4 $(CVS) -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSMODULE)
51 tdb 1.1 cd $(CVSBUILDTEMP) && ./configure
52     cd $(CVSBUILDTEMP) && $(MAKE) build
53     cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT)
54     cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT)
55    
56     javadoc :
57     if test ! -d "$(DOCDIR)"; then mkdir $(DOCDIR); fi
58 tdb 1.7 javadoc -d $(SOURCEROOT)/$(DOCDIR) -sourcepath $(SOURCEROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -header $(JDHEADER) $(PKGLIST)
59 tdb 1.1
60     include $(MKINC)