ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Makefile
Revision: 1.10
Committed: Thu Dec 14 19:54:29 2000 UTC (24 years ago) by tdb
Branch: MAIN
Changes since 1.9: +2 -2 lines
Log Message:
Fixed a bug introduced by an earlier bugfix :-/

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for server
2 tdb 1.10 # $Id: Makefile,v 1.9 2000/12/13 18:40:16 tdb1 Exp $
3 tdb 1.1
4 tdb 1.8 include Config.inc
5 tdb 1.1
6 tdb 1.8 all : build
7 tdb 1.1
8 tdb 1.8 idl :
9     cd idl && $(MAKE) idl
10 tdb 1.1
11 tdb 1.8 buildidl : idl
12     cd idl && $(MAKE) build
13    
14     code : buildidl
15 tdb 1.3 cd uk/ac/ukc/iscream && $(MAKE) all
16 tdb 1.1
17 tdb 1.8 build : code
18     cd build && $(MAKE) package
19    
20     run : build
21 tdb 1.9 cd build && ./run.sh
22 tdb 1.8
23 tdb 1.1 clean :
24 tdb 1.3 cd idl && $(MAKE) clean
25 tdb 1.8 cd build && $(MAKE) clean
26 tdb 1.3 cd uk/ac/ukc/iscream && $(MAKE) clean
27 tdb 1.8 rm -Rf $(BUILDCHECK) $(IDLCHECK)
28     rm -Rf $(CVSBUILDTEMP)
29 tdb 1.1
30 tdb 1.8 distclean : clean
31 tdb 1.10 cd $(BUILD) && rm -f $(CLPATH)
32 tdb 1.8 rm -f Config.inc
33    
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 tdb 1.5
57 tdb 1.8 include $(MKINC)