ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/Makefile
Revision: 1.14
Committed: Wed Feb 5 22:27:24 2003 UTC (21 years, 10 months ago) by tdb
Branch: MAIN
Changes since 1.13: +1 -8 lines
Log Message:
Removed the util package from the server. The source for it still remains,
for now, until I decide how to dispose of it.

File Contents

# User Rev Content
1 tdb 1.2 # Makefile for build
2 tdb 1.14 # $Id: Makefile,v 1.13 2003/02/02 19:25:21 tdb Exp $
3 tdb 1.2
4     include ../Config.inc
5    
6     BUILDFILES = uk
7    
8 tdb 1.12 .PHONY : all
9 tdb 1.10 all : dist
10 tdb 1.2
11 tdb 1.12 .PHONY : clean
12 tdb 1.2 clean :
13     rm -Rf $(BUILDFILES)
14 tdb 1.11 rm -f $(PACKAGE)
15     rm -f $(CHANGELOG)
16 tdb 1.10 rm -Rf $(DISTDIR)
17 tdb 1.13 rm -f $(TARFILE) $(TARGZFILE) $(ZIPFILE)
18     rm -f $(TARGZFILESIG) $(ZIPFILESIG)
19     rm -f $(BINTARFILE) $(BINTARGZFILE) $(BINZIPFILE)
20     rm -f $(BINTARGZFILESIG) $(BINZIPFILESIG)
21 tdb 1.11 rm -Rf $(DOCDIR) $(SRCDIR)
22 tdb 1.13 rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) $(MKDISTFILESBINCHECK)
23 tdb 1.2
24 tdb 1.12 .PHONY : package
25 tdb 1.7 package : $(PACKAGE)
26 tdb 1.2
27 tdb 1.12 $(PACKAGE) : $(IDLCHECK) $(MCOMPILECHECK)
28 tdb 1.11 rm -f $(PACKAGE)
29 tdb 1.2 @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
30     @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
31     jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES)
32     rm -f MANIFEST_TMP
33 tdb 1.10
34 tdb 1.12 .PHONY : dist-bin
35 tdb 1.13 dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESBINCHECK)
36 tdb 1.10
37 tdb 1.12 .PHONY : dist
38     dist : $(MKDISTCHECK) $(MKDISTFILESCHECK)
39 tdb 1.10
40 tdb 1.12 .PHONY : mk-dist-bin
41 tdb 1.11 mk-dist-bin : $(MKDISTBINCHECK)
42     $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG)
43 tdb 1.10 if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
44     echo "CVS" > TAR_EXCLUDE_TMP
45     echo ".#*" >> TAR_EXCLUDE_TMP
46     tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
47     rm -f TAR_EXCLUDE_TMP
48 tdb 1.11 @touch $(MKDISTBINCHECK)
49     @rm -f $(MKDISTFILESCHECK)
50 tdb 1.10
51 tdb 1.12 .PHONY : mk-dist
52 tdb 1.11 mk-dist : $(MKDISTCHECK)
53     $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK) $(CHANGELOG)
54 tdb 1.10 if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
55     echo "CVS" > TAR_EXCLUDE_TMP
56     echo ".#*" >> TAR_EXCLUDE_TMP
57     tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc src ChangeLog doc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
58     rm -f TAR_EXCLUDE_TMP
59 tdb 1.11 @touch $(MKDISTCHECK)
60     @rm -f $(MKDISTFILESCHECK)
61 tdb 1.10
62 tdb 1.12 .PHONY : mk-distfiles
63 tdb 1.11 mk-distfiles : $(MKDISTFILESCHECK)
64     $(MKDISTFILESCHECK) :
65 tdb 1.10 if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
66     tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR)
67     gzip -fv9 $(DISTDEST)/$(TARFILE)
68 tdb 1.13 -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(TARGZFILE)
69 tdb 1.10 zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/*
70 tdb 1.13 -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(ZIPFILE)
71 tdb 1.11 @touch $(MKDISTFILESCHECK)
72 tdb 1.13
73     .PHONY : mk-distfiles-bin
74     mk-distfiles-bin : $(MKDISTFILESBINCHECK)
75     $(MKDISTFILESBINCHECK) :
76     if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
77     tar -cvf $(DISTDEST)/$(BINTARFILE) $(DISTDIR)
78     gzip -fv9 $(DISTDEST)/$(BINTARFILE)
79     -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINTARGZFILE)
80     zip -r -9 $(DISTDEST)/$(BINZIPFILE) $(DISTDIR)/*
81     -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINZIPFILE)
82     @touch $(MKDISTFILESBINCHECK)
83 tdb 1.2
84     include $(MKINC)