ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/Makefile
Revision: 1.5
Committed: Tue May 29 22:30:56 2001 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.4: +15 -15 lines
Log Message:
Whilst all the packages are being changed around cms, it was time this little
beast of a program got shoved into one. It has all been placed under this java
package:

uk.org.iscream.cms.dbreporter.*

This has required a few changes to the Makefile setup, and a few moves of other
files to bring the structure into line with all the other i-scream central
monitoring system packages.

File Contents

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