/[gzz]/gzz/Makefile
ViewVC logotype

Diff of /gzz/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.144 by tuukkah, Mon Aug 26 19:07:15 2002 UTC revision 1.145 by tuukkah, Tue Aug 27 21:42:59 2002 UTC
# Line 1  Line 1 
1    
2  # all must compile everywhere  # all must compile everywhere
3  all: compile batchtest  all: compile batchtest
4  alltests: batchtest batchtest-junit slow test-  alltests: batchtest batchtest-junit slow test-
# Line 15  Manifest: Line 16  Manifest:
16  VERSION=snapshot-`date -u +%Y%m%d`  VERSION=snapshot-`date -u +%Y%m%d`
17  TAG="Unofficial"  TAG="Unofficial"
18    
19  dist : DISTDIR=gzigzag-$(VERSION)  NOTEST=true
20  dist : dist.tgz dist.zip  dist: DISTDIR=gzz-$(VERSION)
21    dist:
22            rm -Rf $(DISTDIR)
23            mkdir $(DISTDIR)
24            $(NOTEST) || $(MAKE) batchtest slow    
25            $(MAKE) clean
26            $(MAKE) ready_to_compile doc
27            find . ! -type d|egrep -v '(^./(basalt|lava|C\+\+|Perl|Java|Modules))|/CVS/|#|~|\$$py\.class$$'|grep -vF "./$(DISTDIR)/"|xargs --replace cp --parents {} $(DISTDIR)
28            echo $(VERSION) >$(DISTDIR)/VERSION
29    
 dist.tgz : distdir  
30          tar cf $(DISTDIR).tar $(DISTDIR)          tar cf $(DISTDIR).tar $(DISTDIR)
31          gzip -9vf $(DISTDIR).tar          gzip -9vf $(DISTDIR).tar
32    
33  dist.zip : distdir          rm -Rf $(DISTDIR)
34          zip -r9 $(DISTDIR).zip $(DISTDIR)  
35    
36  release : DISTDIR=gzigzag-$(VERSION)  release : DISTDIR=gzz-$(VERSION)
37  release : Z_DIR=$(CURDIR)/Z  release : Z_DIR=$(CURDIR)/Z
38  release :  release :
39          $(MAKE) dist          $(MAKE) dist
# Line 99  official-release : modulesupport.jar Line 107  official-release : modulesupport.jar
107          rm -rf $(grbdir)          rm -rf $(grbdir)
108    
109    
 DISTDIR=gzigzag-dist  
 distdir:  
         ./makedist.sh $(DISTDIR)  
   
110  CVS2CL=cvs2cl  CVS2CL=cvs2cl
111    
112  CVS_RSH=ssh  CVS_RSH=ssh
# Line 358  clean: Line 362  clean:
362          $(RM) $(GENERATED)          $(RM) $(GENERATED)
363          $(RM) gzz-independent.jar          $(RM) gzz-independent.jar
364          $(RM) -r independent/          $(RM) -r independent/
365          mkdir -p $(CLASSDIR)          @echo "Removing everything found in .cvsignore's"
366            find . -name ".cvsignore"|while read ign; do (cd `dirname $$ign` && cat .cvsignore|while read files; do rm -Rf "$$files"; done); done
367    
368    
369  NOTEST=true  NOTEST=true
370  jar: jardir=$(JARNAME).build  jar: jardir=$(JARNAME).build
371  jar :  jar :
372            rm -Rf $(jardir)
373          mkdir $(jardir)          mkdir $(jardir)
374          $(MAKE) ARCH="$(JARARCHES)" MODULES="$(JARMODULES)" compile          $(MAKE) ARCH="$(JARARCHES)" MODULES="$(JARMODULES)" compile
375          $(NOTEST) || $(MAKE) ARCH="$(JARARCHES)" MODULES="$(JARMODULES)" batchtest slow          $(NOTEST) || $(MAKE) ARCH="$(JARARCHES)" MODULES="$(JARMODULES)" batchtest slow

Legend:
Removed from v.1.144  
changed lines
  Added in v.1.145

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26