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.9 by tdb, Sat May 18 18:16:00 2002 UTC vs.
Revision 1.10 by tdb, Fri Jun 7 16:12:47 2002 UTC

# Line 5 | Line 5 | include ../Config.inc
5  
6   BUILDFILES = uk
7  
8 < all : package
8 > all : dist
9  
10   clean :
11          rm -Rf $(BUILDFILES)
12          rm -Rf $(PACKAGE)
13          rm -Rf $(UTILPACKAGE)
14 <        rm -Rf $(ARCNAME)*$(TAREXT)
15 <        rm -Rf $(ARCNAME)*$(TARGZEXT)
16 <        rm -Rf $(ARCNAME)*$(ZIPEXT)
14 >        rm -Rf $(CHANGELOG)
15 >        rm -Rf $(DISTDIR)
16 >        rm -Rf $(TARFILE)
17 >        rm -Rf $(TARGZFILE)
18 >        rm -Rf $(ZIPFILE)
19  
20   package : $(PACKAGE)
21  
# Line 23 | Line 25 | $(PACKAGE) : $(BUILDCHECK)
25          @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
26          jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES)
27          rm -f MANIFEST_TMP
26        tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh COPYING
27        gzip -fv9 $(TARFILE)
28        zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat COPYING
28  
29   packageutil : $(UTILPACKAGE)
30  
31   $(UTILPACKAGE) : $(BUILDCHECK)
32          jar -cf $(UTILPACKAGE) $(BUILDFILES)
33 +
34 + dist-bin : mk-dist-bin mk-distfiles
35 +
36 + dist : mk-dist mk-distfiles
37 +
38 + mk-dist-bin : $(PACKAGE)
39 +        if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
40 +        echo "CVS" > TAR_EXCLUDE_TMP
41 +        echo ".#*" >> TAR_EXCLUDE_TMP
42 +        tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
43 +        rm -f TAR_EXCLUDE_TMP
44 +
45 + mk-dist : $(PACKAGE)
46 +        if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
47 +        echo "CVS" > TAR_EXCLUDE_TMP
48 +        echo ".#*" >> TAR_EXCLUDE_TMP
49 +        tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc src ChangeLog doc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
50 +        rm -f TAR_EXCLUDE_TMP
51 +
52 + mk-distfiles :
53 +        if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
54 +        tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR)
55 +        gzip -fv9 $(DISTDEST)/$(TARFILE)
56 +        zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/*
57  
58   include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines