ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Makefile
(Generate patch)

Comparing projects/cms/source/server/Makefile (file contents):
Revision 1.8 by tdb, Wed Dec 13 18:34:09 2000 UTC vs.
Revision 1.16 by tdb, Sat Feb 3 23:11:19 2001 UTC

# Line 5 | Line 5 | include Config.inc
5  
6   all : build
7  
8 < idl :
8 > genidl :
9          cd idl && $(MAKE) idl
10  
11 < buildidl : idl
11 > buildidl : genidl
12          cd idl && $(MAKE) build
13  
14 < code : buildidl
14 > code : genidl
15          cd uk/ac/ukc/iscream && $(MAKE) all
16  
17 < build : code
17 > build : buildidl code
18          cd build && $(MAKE) package
19  
20   run : build
21 <        cd build && java -jar iscream.jar -f filter1
21 >        cd build && ./run.sh
22  
23   clean :
24          cd idl && $(MAKE) clean
# Line 26 | Line 26 | clean :
26          cd uk/ac/ukc/iscream && $(MAKE) clean
27          rm -Rf $(BUILDCHECK) $(IDLCHECK)
28          rm -Rf $(CVSBUILDTEMP)
29 +        rm -Rf doc doctemp
30  
31   distclean : clean
32 <        rm -f $(CLPATH)
32 >        cd $(BUILD) && rm -f $(CLPATH)
33          rm -f Config.inc
34  
35   install : build
# Line 44 | Line 45 | install : build
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)
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)
69 +        rm -Rf doctemp
70 +
71 + buildutil : clean genidl
72 +        cd uk/ac/ukc/iscream/util && $(MAKE) all
73 +        cd build && $(MAKE) packageutil
74  
75   include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines