ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/Makefile
Revision: 1.4
Committed: Mon Mar 26 21:50:56 2001 UTC (23 years, 8 months ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.3: +2 -2 lines
Log Message:
Our logo is now on the javadoc pages.

File Contents

# Content
1 # Makefile for server
2 # $Id: Makefile,v 1.3 2001/03/26 20:50:06 tdb1 Exp $
3
4 include Config.inc
5
6 JAVA = ChartDataWriter.java DBReporter.java DBReporterMain.java\
7 DBReporterSettings.java DatabaseRemover.java DateUtils.java\
8 IscreamChart.java IscreamChartWriter.java IscreamColour.java\
9 IscreamFilePlacer.java PairData.java PlotData.java Report.java\
10 ReportList.java ReportMaker.java SHTMLLayout.java SHTMLWriter.java
11
12 FILES = DBReporter.properties reportlist.conf
13
14 all : build
15
16 build : DOBUILD DOCOPY
17 cd $(BUILD) && $(MAKE) all
18
19 clean : DOCLEAN
20 cd build && $(MAKE) clean
21 rm -Rf $(BUILDCHECK) $(IDLCHECK)
22 rm -Rf $(CVSBUILDTEMP)
23 rm -Rf $(DOCDIR)
24
25 distclean : clean
26 cd $(BUILD) && rm -f $(CLPATH)
27 rm -f Config.inc
28
29 install : build
30 @echo "-------------------------------------------------------"
31 @echo "Installing to $(INSTALL)"
32 @echo " copying $(PACKAGE) to $(INSTALL)"
33 mkdir -p $(INSTALL)
34 cp $(BUILD)/$(PACKAGE) $(INSTALL)
35 @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 javadoc -d $(SOURCEROOT)/$(DOCDIR) -sourcepath $(SOURCEROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -header $(JDHEADER) $(JAVA)
53
54 run : build
55 cd $(BUILD) && ./run.sh
56
57 include $(MKINC)