1 |
tdb |
1.5 |
# Makefile for dbreporter |
2 |
tdb |
1.6 |
# $Id: Makefile,v 1.5 2001/05/29 22:30: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.6 |
javadoc -d $(SOURCEROOT)/$(DOCDIR) -sourcepath $(SOURCEROOT) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -use -header $(JDHEADER) -bottom $(JDBOTTOM) -link $(JDJAPI) -link $(JDSAPI) $(PKGLIST) |
53 |
tdb |
1.3 |
|
54 |
|
|
run : build |
55 |
|
|
cd $(BUILD) && ./run.sh |
56 |
|
|
|
57 |
|
|
include $(MKINC) |