ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Makefile.inc
Revision: 1.3
Committed: Sun Jan 7 19:37:39 2001 UTC (23 years, 10 months ago) by tdb
Branch: MAIN
Changes since 1.2: +4 -1 lines
Log Message:
Added a DOCOPY target. This target copys files listed in FILES, to the correct
relative directory under the build directory. ie.

/source/server/uk/ac/ukc/iscream/core/loggers/i-scream.gif  -->
/source/server/build/uk/ac/ukc/iscream/core/loggers

This will result in the file being added to the JAR archive.

File Contents

# User Rev Content
1 tdb 1.2 # Include Makefile for the server
2 tdb 1.3 # $Id: Makefile.inc,v 1.2 2000/12/13 18:34:09 tdb1 Exp $
3 tdb 1.2
4     ## Rule to CVS update the files
5     update :
6     cvs -q -d $(CVSROOT) update
7    
8     ## Rule for making and compiling the IDL files
9     $(IDLCHECK) : $(SERVERROOT)/idl/iscream.idl
10     cd $(SERVERROOT)/idl && $(MAKE) build
11     rm -f $(COMPILECHECK)
12    
13     ## General Build Rule for Java Files
14     DOBUILD : $(IDLCHECK) $(COMPILECHECK)
15    
16     $(COMPILECHECK) : $(JAVA)
17     javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $?
18     @touch $(BUILDCHECK)
19     @touch $(COMPILECHECK)
20    
21     DOCLEAN :
22     rm -f $(COMPILECHECK)
23 tdb 1.3
24     DOCOPY :
25     cp $(FILES) `perl -e '$$root="$(SERVERROOT)";$$path=\`pwd\`;$$path=~s/^$$root($$1)/$$1/;print "$(BUILD)".$$path;'`