summaryrefslogtreecommitdiff
path: root/Makefile.X11
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-02-08 22:09:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-02-08 22:09:04 +0000
commita4a5da745b6cf599e199163708c5941c104608f4 (patch)
treeef0f22237bf4a9ced3a1fd4a1517aade9d907902 /Makefile.X11
parentb6b39455e3ed2872081741d5dc94f68ea3ac009a (diff)
added rules for making bz2 files and md5 checksums
Diffstat (limited to 'Makefile.X11')
-rw-r--r--Makefile.X1159
1 files changed, 33 insertions, 26 deletions
diff --git a/Makefile.X11 b/Makefile.X11
index b67f34fec3..89a3dd672f 100644
--- a/Makefile.X11
+++ b/Makefile.X11
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.72 2003/02/08 16:23:44 brianp Exp $
+# $Id: Makefile.X11,v 1.73 2003/02/08 22:09:04 brianp Exp $
# Mesa 3-D graphics library
# Version: 5.1
@@ -710,33 +710,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 ; \
@@ -751,20 +749,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)