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.10 by tdb, Fri Jun 7 16:12:47 2002 UTC vs.
Revision 1.11 by tdb, Sun Jan 26 14:02:52 2003 UTC

# Line 9 | Line 9 | all : dist
9  
10   clean :
11          rm -Rf $(BUILDFILES)
12 <        rm -Rf $(PACKAGE)
13 <        rm -Rf $(UTILPACKAGE)
14 <        rm -Rf $(CHANGELOG)
12 >        rm -f $(PACKAGE)
13 >        rm -f $(UTILPACKAGE)
14 >        rm -f $(CHANGELOG)
15          rm -Rf $(DISTDIR)
16 <        rm -Rf $(TARFILE)
17 <        rm -Rf $(TARGZFILE)
18 <        rm -Rf $(ZIPFILE)
16 >        rm -f $(TARFILE)
17 >        rm -f $(TARGZFILE)
18 >        rm -f $(ZIPFILE)
19 >        rm -Rf $(DOCDIR) $(SRCDIR)
20 >        rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK)
21  
22   package : $(PACKAGE)
23  
24   $(PACKAGE) : $(BUILDCHECK)
25 <        rm -Rf $(PACKAGE)
25 >        rm -f $(PACKAGE)
26          @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
27          @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
28          jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES)
# Line 35 | Line 37 | dist-bin : mk-dist-bin mk-distfiles
37  
38   dist : mk-dist mk-distfiles
39  
40 < mk-dist-bin : $(PACKAGE)
40 > mk-dist-bin : $(MKDISTBINCHECK)
41 > $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG)
42          if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
43          echo "CVS" > TAR_EXCLUDE_TMP
44          echo ".#*" >> TAR_EXCLUDE_TMP
45          tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
46          rm -f TAR_EXCLUDE_TMP
47 +        @touch $(MKDISTBINCHECK)
48 +        @rm -f $(MKDISTFILESCHECK)
49  
50 < mk-dist : $(PACKAGE)
50 > mk-dist : $(MKDISTCHECK)
51 > $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK) $(CHANGELOG)
52          if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
53          echo "CVS" > TAR_EXCLUDE_TMP
54          echo ".#*" >> TAR_EXCLUDE_TMP
55          tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc src ChangeLog doc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
56          rm -f TAR_EXCLUDE_TMP
57 +        @touch $(MKDISTCHECK)
58 +        @rm -f $(MKDISTFILESCHECK)
59  
60 < mk-distfiles :
60 > mk-distfiles : $(MKDISTFILESCHECK)
61 > $(MKDISTFILESCHECK) :
62          if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
63          tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR)
64          gzip -fv9 $(DISTDEST)/$(TARFILE)
65          zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/*
66 +        @touch $(MKDISTFILESCHECK)
67  
68   include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines