45 |
|
mkdir -p $(INSTALL)/etc |
46 |
|
cp $(BUILD)/etc/default.properties $(INSTALL)/etc |
47 |
|
cp $(BUILD)/etc/*.conf $(INSTALL)/etc |
48 |
+ |
@echo " copying scripts to $(INSTALL)" |
49 |
+ |
cp $(BUILD)/run.sh $(INSTALL) |
50 |
+ |
cp $(BUILD)/run.bat $(INSTALL) |
51 |
|
@echo "Completed install to $(INSTALL)" |
52 |
|
@echo "-------------------------------------------------------" |
53 |
|
|
54 |
|
cvsbuild : |
55 |
< |
cvs -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSSERVERMODULE) |
55 |
> |
$(CVS) -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSSERVERMODULE) |
56 |
|
cd $(CVSBUILDTEMP) && ./configure |
57 |
+ |
cd $(CVSBUILDTEMP) && $(MAKE) buildutil |
58 |
|
cd $(CVSBUILDTEMP) && $(MAKE) build |
59 |
|
cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT) |
60 |
|
cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT) |
61 |
+ |
cp $(CVSBUILDTEMP)/build/$(UTILPACKAGE) $(BUILD) |
62 |
|
|
63 |
|
javadoc : genidl |
64 |
|
if test ! -d "$(DOCDIR)"; then mkdir $(DOCDIR); fi |
65 |
|
if test ! -d "$(DOCTMPDIR)"; then mkdir $(DOCTMPDIR); fi |
66 |
< |
cp -R $(SERVERROOT)/uk $(SERVERROOT)/$(DOCTMPDIR) |
67 |
< |
cp -R $(SERVERROOT)/idl/uk $(SERVERROOT)/$(DOCTMPDIR) |
68 |
< |
javadoc -d $(SERVERROOT)/$(DOCDIR) -sourcepath $(SERVERROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -author -version -private $(PKGLIST) |
66 |
> |
cp -R $(SOURCEROOT)/uk $(SOURCEROOT)/$(DOCTMPDIR) |
67 |
> |
cp -R $(SOURCEROOT)/idl/uk $(SOURCEROOT)/$(DOCTMPDIR) |
68 |
> |
javadoc -d $(SOURCEROOT)/$(DOCDIR) -sourcepath $(SOURCEROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -author -version -private $(PKGLIST) |
69 |
|
rm -Rf doctemp |
70 |
|
|
71 |
< |
buildutil : genidl |
71 |
> |
buildutil : clean |
72 |
|
cd uk/ac/ukc/iscream/util && $(MAKE) all |
73 |
|
cd build && $(MAKE) packageutil |
74 |
+ |
|
75 |
+ |
createtable : |
76 |
+ |
cd db && $(MAKE) create |
77 |
+ |
|
78 |
+ |
droptable : |
79 |
+ |
cd db && $(MAKE) drop |
80 |
|
|
81 |
|
include $(MKINC) |