diff options
author | Brian Paul <[email protected]> | 2003-02-08 22:09:25 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-02-08 22:09:25 +0000 |
commit | 30beb26dbb77a0bdeb9b6e78350419c51bdaf3ad (patch) | |
tree | 2dd07b747360f4de854cb43ec1567c4c7516d47d | |
parent | 735a8aee5a8eec0a2eef15fbb98995ac0b027a10 (diff) |
added rules for making bz2 files and md5 checksums
-rw-r--r-- | Makefile.X11 | 59 |
1 files changed, 33 insertions, 26 deletions
diff --git a/Makefile.X11 b/Makefile.X11 index c43494d9d64..bf10d3a2f22 100644 --- a/Makefile.X11 +++ b/Makefile.X11 @@ -1,4 +1,4 @@ -# $Id: Makefile.X11,v 1.69.2.1 2002/12/19 15:17:56 brianp Exp $ +# $Id: Makefile.X11,v 1.69.2.2 2003/02/08 22:09:25 brianp Exp $ # Mesa 3-D graphics library # Version: 5.0.1 @@ -706,33 +706,31 @@ OBSOLETE_GLUT_FILES = \ $(DIRECTORY)/src-glut.beos/*.h -lib_tar: +lib_gz: cp Makefile.X11 Makefile ; \ cd .. ; \ tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \ gzip $(LIB_NAME).tar ; \ mv $(LIB_NAME).tar.gz $(DIRECTORY) -demo_tar: +demo_gz: cd .. ; \ tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \ gzip $(DEMO_NAME).tar ; \ mv $(DEMO_NAME).tar.gz $(DIRECTORY) -glu_tar: +lib_bz2: cp Makefile.X11 Makefile ; \ cd .. ; \ - tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \ - gzip $(GLU_NAME).tar ; \ - mv $(GLU_NAME).tar.gz $(DIRECTORY) + tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \ + bzip2 $(LIB_NAME).tar ; \ + mv $(LIB_NAME).tar.bz2 $(DIRECTORY) -glut_tar: - cp Makefile.X11 Makefile ; \ +demo_bz2: cd .. ; \ - tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \ - gzip $(GLUT_NAME).tar ; \ - mv $(GLUT_NAME).tar.gz $(DIRECTORY) - + tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \ + bzip2 $(DEMO_NAME).tar ; \ + mv $(DEMO_NAME).tar.bz2 $(DIRECTORY) lib_zip: -rm $(LIB_NAME).zip ; \ @@ -747,20 +745,29 @@ demo_zip: zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \ mv $(DEMO_NAME).zip $(DIRECTORY) +md5: + @-md5sum $(LIB_NAME).tar.gz + @-md5sum $(LIB_NAME).tar.bz2 + @-md5sum $(LIB_NAME).zip + @-md5sum $(DEMO_NAME).tar.gz + @-md5sum $(DEMO_NAME).tar.bz2 + @-md5sum $(DEMO_NAME).zip +# Everything for new Mesa release: +tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5 -SRC_FILES = \ - RELNOTES \ - src/Makefile* \ - src/depend \ - src/*.[chS] \ - src/*/*.[ch] \ - include/GL/*.h -srctar: - tar -cvf src.tar $(SRC_FILES) ; \ - gzip src.tar +# not used +glu_gz: + cp Makefile.X11 Makefile ; \ + cd .. ; \ + tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \ + gzip $(GLU_NAME).tar ; \ + mv $(GLU_NAME).tar.gz $(DIRECTORY) -srctar.zip: - -rm src.zip - zip -r src.zip $(SRC_FILES) ; \ +glut_gz: + cp Makefile.X11 Makefile ; \ + cd .. ; \ + tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \ + gzip $(GLUT_NAME).tar ; \ + mv $(GLUT_NAME).tar.gz $(DIRECTORY) |