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

Comparing projects/cms/source/corbaservices/build/Makefile (file contents):
Revision 1.3 by tdb, Tue Feb 27 02:55:19 2001 UTC vs.
Revision 1.5 by tdb, Wed Feb 5 22:50:23 2003 UTC

# Line 1 | Line 1
1 < # Makefile for build
1 > # Makefile for corbaservices
2   # $Id$
3  
4   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)
18 <        rm -Rf web/NS_Ref
14 >        rm -f $(PACKAGE)
15 >        rm -f $(CHANGELOG)
16 >        rm -Rf $(DISTDIR)
17 >        rm -f $(TARFILE) $(TARGZFILE) $(ZIPFILE)
18 >        rm -f $(TARGZFILESIG) $(ZIPFILESIG)
19 >        rm -f $(BINTARFILE) $(BINTARGZFILE) $(BINZIPFILE)
20 >        rm -f $(BINTARGZFILESIG) $(BINZIPFILESIG)
21 >        rm -Rf $(DOCDIR) $(SRCDIR)
22 >        rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) $(MKDISTFILESBINCHECK)
23  
24 + .PHONY : package
25   package : $(PACKAGE)
26  
27 < $(PACKAGE) : $(BUILDCHECK)
28 <        rm -Rf $(PACKAGE)
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) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` `ls -d web/* | grep -v CVS` run.sh
34 <        gzip -fv9 $(TARFILE)
35 <        zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` `ls -d web/* | grep -v CVS` run.bat
33 >
34 > .PHONY : dist-bin
35 > dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESBINCHECK)
36 >
37 > .PHONY : dist
38 > dist : $(MKDISTCHECK) $(MKDISTFILESCHECK)
39 >
40 > .PHONY : mk-dist-bin
41 > mk-dist-bin : $(MKDISTBINCHECK)
42 > $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG)
43 >        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 web ChangeLog run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
47 >        rm -f TAR_EXCLUDE_TMP
48 >        @touch $(MKDISTBINCHECK)
49 >        @rm -f $(MKDISTFILESCHECK)
50 >
51 > .PHONY : mk-dist
52 > mk-dist : $(MKDISTCHECK)
53 > $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK) $(CHANGELOG)
54 >        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 web src ChangeLog doc run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
58 >        rm -f TAR_EXCLUDE_TMP
59 >        @touch $(MKDISTCHECK)
60 >        @rm -f $(MKDISTFILESCHECK)
61 >
62 > .PHONY : mk-distfiles
63 > mk-distfiles : $(MKDISTFILESCHECK)
64 > $(MKDISTFILESCHECK) :
65 >        if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
66 >        tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR)
67 >        gzip -fv9 $(DISTDEST)/$(TARFILE)
68 >        -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(TARGZFILE)
69 >        zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/*
70 >        -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(ZIPFILE)
71 >        @touch $(MKDISTFILESCHECK)
72 >
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  
84   include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines