--- projects/cms/source/server/build/Makefile 2003/02/01 19:08:54 1.12 +++ projects/cms/source/server/build/Makefile 2003/02/05 22:27:24 1.14 @@ -1,5 +1,5 @@ # Makefile for build -# $Id: Makefile,v 1.12 2003/02/01 19:08:54 tdb Exp $ +# $Id: Makefile,v 1.14 2003/02/05 22:27:24 tdb Exp $ include ../Config.inc @@ -12,14 +12,14 @@ all : dist clean : rm -Rf $(BUILDFILES) rm -f $(PACKAGE) - rm -f $(UTILPACKAGE) rm -f $(CHANGELOG) rm -Rf $(DISTDIR) - rm -f $(TARFILE) - rm -f $(TARGZFILE) - rm -f $(ZIPFILE) + rm -f $(TARFILE) $(TARGZFILE) $(ZIPFILE) + rm -f $(TARGZFILESIG) $(ZIPFILESIG) + rm -f $(BINTARFILE) $(BINTARGZFILE) $(BINZIPFILE) + rm -f $(BINTARGZFILESIG) $(BINZIPFILESIG) rm -Rf $(DOCDIR) $(SRCDIR) - rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) + rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) $(MKDISTFILESBINCHECK) .PHONY : package package : $(PACKAGE) @@ -31,14 +31,8 @@ $(PACKAGE) : $(IDLCHECK) $(MCOMPILECHECK) jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) rm -f MANIFEST_TMP -.PHONY : packageutil -packageutil : $(UTILPACKAGE) - -$(UTILPACKAGE) : $(MCOMPILECHECK) - jar -cf $(UTILPACKAGE) $(BUILDFILES) - .PHONY : dist-bin -dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESCHECK) +dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESBINCHECK) .PHONY : dist dist : $(MKDISTCHECK) $(MKDISTFILESCHECK) @@ -71,7 +65,20 @@ $(MKDISTFILESCHECK) : if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR) gzip -fv9 $(DISTDEST)/$(TARFILE) + -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(TARGZFILE) zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/* + -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(ZIPFILE) @touch $(MKDISTFILESCHECK) + +.PHONY : mk-distfiles-bin +mk-distfiles-bin : $(MKDISTFILESBINCHECK) +$(MKDISTFILESBINCHECK) : + if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi + tar -cvf $(DISTDEST)/$(BINTARFILE) $(DISTDIR) + gzip -fv9 $(DISTDEST)/$(BINTARFILE) + -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINTARGZFILE) + zip -r -9 $(DISTDEST)/$(BINZIPFILE) $(DISTDIR)/* + -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINZIPFILE) + @touch $(MKDISTFILESBINCHECK) include $(MKINC)