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.11 by tdb, Sun Jan 26 14:02:52 2003 UTC vs.
Revision 1.13 by tdb, Sun Feb 2 19:25:21 2003 UTC

# Line 5 | Line 5 | include ../Config.inc
5  
6   BUILDFILES = uk
7  
8 + .PHONY : all
9   all : dist
10  
11 + .PHONY : clean
12   clean :
13          rm -Rf $(BUILDFILES)
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)
18 >        rm -f $(TARFILE) $(TARGZFILE) $(ZIPFILE)
19 >        rm -f $(TARGZFILESIG) $(ZIPFILESIG)
20 >        rm -f $(BINTARFILE) $(BINTARGZFILE) $(BINZIPFILE)
21 >        rm -f $(BINTARGZFILESIG) $(BINZIPFILESIG)
22          rm -Rf $(DOCDIR) $(SRCDIR)
23 <        rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK)
23 >        rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) $(MKDISTFILESBINCHECK)
24  
25 + .PHONY : package
26   package : $(PACKAGE)
27  
28 < $(PACKAGE) : $(BUILDCHECK)
28 > $(PACKAGE) : $(IDLCHECK) $(MCOMPILECHECK)
29          rm -f $(PACKAGE)
30          @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
31          @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
32          jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES)
33          rm -f MANIFEST_TMP
34  
35 + .PHONY : packageutil
36   packageutil : $(UTILPACKAGE)
37  
38 < $(UTILPACKAGE) : $(BUILDCHECK)
38 > $(UTILPACKAGE) : $(MCOMPILECHECK)
39          jar -cf $(UTILPACKAGE) $(BUILDFILES)
40  
41 < dist-bin : mk-dist-bin mk-distfiles
41 > .PHONY : dist-bin
42 > dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESBINCHECK)
43  
44 < dist : mk-dist mk-distfiles
44 > .PHONY : dist
45 > dist : $(MKDISTCHECK) $(MKDISTFILESCHECK)
46  
47 + .PHONY : mk-dist-bin
48   mk-dist-bin : $(MKDISTBINCHECK)
49   $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG)
50          if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
# Line 47 | Line 55 | $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG)
55          @touch $(MKDISTBINCHECK)
56          @rm -f $(MKDISTFILESCHECK)
57  
58 + .PHONY : mk-dist
59   mk-dist : $(MKDISTCHECK)
60   $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK) $(CHANGELOG)
61          if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
# Line 57 | Line 66 | $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK
66          @touch $(MKDISTCHECK)
67          @rm -f $(MKDISTFILESCHECK)
68  
69 + .PHONY : mk-distfiles
70   mk-distfiles : $(MKDISTFILESCHECK)
71   $(MKDISTFILESCHECK) :
72          if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
73          tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR)
74          gzip -fv9 $(DISTDEST)/$(TARFILE)
75 +        -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(TARGZFILE)
76          zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/*
77 +        -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(ZIPFILE)
78          @touch $(MKDISTFILESCHECK)
79 +
80 + .PHONY : mk-distfiles-bin
81 + mk-distfiles-bin : $(MKDISTFILESBINCHECK)
82 + $(MKDISTFILESBINCHECK) :
83 +        if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
84 +        tar -cvf $(DISTDEST)/$(BINTARFILE) $(DISTDIR)
85 +        gzip -fv9 $(DISTDEST)/$(BINTARFILE)
86 +        -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINTARGZFILE)
87 +        zip -r -9 $(DISTDEST)/$(BINZIPFILE) $(DISTDIR)/*
88 +        -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINZIPFILE)
89 +        @touch $(MKDISTFILESBINCHECK)
90  
91   include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines