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.6.2.5 by tdb, Tue Dec 12 02:45:54 2000 UTC vs.
Revision 1.8 by tdb, Wed Dec 13 18:34:09 2000 UTC

# Line 3 | Line 3
3  
4   include Config.inc
5  
6 < all : buildidl code build
6 > all : build
7  
8 < idl : $(IDL)
9 < $(IDL) : idl/iscream.idl
8 > idl :
9          cd idl && $(MAKE) idl
10  
11 < buildidl : $(IDL) idl
11 > buildidl : idl
12          cd idl && $(MAKE) build
13  
14   code : buildidl
15          cd uk/ac/ukc/iscream && $(MAKE) all
16  
17 + build : code
18 +        cd build && $(MAKE) package
19 +
20 + run : build
21 +        cd build && java -jar iscream.jar -f filter1
22 +
23   clean :
24          cd idl && $(MAKE) clean
25          cd build && $(MAKE) clean
26          cd uk/ac/ukc/iscream && $(MAKE) clean
27          rm -Rf $(BUILDCHECK) $(IDLCHECK)
28 +        rm -Rf $(CVSBUILDTEMP)
29  
30 < run : build
31 <        cd build && java -jar iscream.jar
30 > distclean : clean
31 >        rm -f $(CLPATH)
32 >        rm -f Config.inc
33  
34 < build : code
35 <        cd build && $(MAKE) package
34 > install : build
35 >        @echo "-------------------------------------------------------"
36 >        @echo "Installing to $(INSTALL)"
37 >        @echo "  copying $(PACKAGE) to $(INSTALL)"
38 >        mkdir -p $(INSTALL)
39 >        cp $(BUILD)/$(PACKAGE) $(INSTALL)
40 >        @echo "  copying libs to $(INSTALL)/lib"
41 >        mkdir -p $(INSTALL)/lib
42 >        cp $(LIBDIR)/*.jar $(INSTALL)/lib
43 >        @echo "  copying etc to $(INSTALL)/etc"
44 >        mkdir -p $(INSTALL)/etc
45 >        cp $(BUILD)/etc/default.properties $(INSTALL)/etc
46 >        cp $(BUILD)/etc/*.conf $(INSTALL)/etc
47 >        @echo "Completed install to $(INSTALL)"
48 >        @echo "-------------------------------------------------------"
49 >
50 > cvsbuild :
51 >        cvs -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSSERVERMODULE)
52 >        cd $(CVSBUILDTEMP) && ./configure
53 >        cd $(CVSBUILDTEMP) && $(MAKE) build
54 >        cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT)
55 >        cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT)
56  
57   include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines