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

Comparing projects/cms/source/server/build/Makefile (file contents):
Revision 1.1.2.8 by tdb, Wed Dec 13 18:01:12 2000 UTC vs.
Revision 1.12 by tdb, Sat Feb 1 19:08:54 2003 UTC

# Line 5 | Line 5 | include ../Config.inc
5  
6   BUILDFILES = uk
7  
8 < all : package
8 > .PHONY : all
9 > all : dist
10  
11 + .PHONY : clean
12   clean :
13          rm -Rf $(BUILDFILES)
14 <        rm -Rf $(PACKAGE)
15 <        rm -Rf $(ARCNAME)*$(TAREXT)
16 <        rm -Rf $(ARCNAME)*$(TARGZEXT)
17 <        rm -Rf $(ARCNAME)*$(ZIPEXT)
14 >        rm -f $(PACKAGE)
15 >        rm -f $(UTILPACKAGE)
16 >        rm -f $(CHANGELOG)
17 >        rm -Rf $(DISTDIR)
18 >        rm -f $(TARFILE)
19 >        rm -f $(TARGZFILE)
20 >        rm -f $(ZIPFILE)
21 >        rm -Rf $(DOCDIR) $(SRCDIR)
22 >        rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK)
23  
24 + .PHONY : package
25   package : $(PACKAGE)
26  
27 < $(PACKAGE) : $(BUILDCHECK)
27 > $(PACKAGE) : $(IDLCHECK) $(MCOMPILECHECK)
28 >        rm -f $(PACKAGE)
29          @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 <        tar -cvf $(TARFILE) $(PACKAGE) lib etc README
34 <        gzip -v9 $(TARFILE)
35 <        zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* README
33 >
34 > .PHONY : packageutil
35 > packageutil : $(UTILPACKAGE)
36 >
37 > $(UTILPACKAGE) : $(MCOMPILECHECK)
38 >        jar -cf $(UTILPACKAGE) $(BUILDFILES)
39 >
40 > .PHONY : dist-bin
41 > dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESCHECK)
42 >
43 > .PHONY : dist
44 > dist : $(MKDISTCHECK) $(MKDISTFILESCHECK)
45 >
46 > .PHONY : mk-dist-bin
47 > mk-dist-bin : $(MKDISTBINCHECK)
48 > $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG)
49 >        if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
50 >        echo "CVS" > TAR_EXCLUDE_TMP
51 >        echo ".#*" >> TAR_EXCLUDE_TMP
52 >        tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
53 >        rm -f TAR_EXCLUDE_TMP
54 >        @touch $(MKDISTBINCHECK)
55 >        @rm -f $(MKDISTFILESCHECK)
56 >
57 > .PHONY : mk-dist
58 > mk-dist : $(MKDISTCHECK)
59 > $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK) $(CHANGELOG)
60 >        if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
61 >        echo "CVS" > TAR_EXCLUDE_TMP
62 >        echo ".#*" >> TAR_EXCLUDE_TMP
63 >        tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc src ChangeLog doc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
64 >        rm -f TAR_EXCLUDE_TMP
65 >        @touch $(MKDISTCHECK)
66 >        @rm -f $(MKDISTFILESCHECK)
67 >
68 > .PHONY : mk-distfiles
69 > mk-distfiles : $(MKDISTFILESCHECK)
70 > $(MKDISTFILESCHECK) :
71 >        if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
72 >        tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR)
73 >        gzip -fv9 $(DISTDEST)/$(TARFILE)
74 >        zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/*
75 >        @touch $(MKDISTFILESCHECK)
76  
77   include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines