mesa: minor Makefile improvement for versioning
authorBrian Paul <brianp@vmware.com>
Thu, 5 Feb 2009 15:39:10 +0000 (08:39 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 5 Feb 2009 15:39:10 +0000 (08:39 -0700)
Makefile

index 840b41464fd2cc5dc99568e213854dabf40db354..bf69b2a5873b8d87ca7ff2ab27262dd6fcf4dcc9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -174,10 +174,11 @@ ultrix-gcc:
 
 # Rules for making release tarballs
 
-DIRECTORY = Mesa-7.5-devel
-LIB_NAME = MesaLib-7.5-devel
-DEMO_NAME = MesaDemos-7.5-devel
-GLUT_NAME = MesaGLUT-7.5-devel
+VERSION=7.5-devel
+DIRECTORY = Mesa-$(VERSION)
+LIB_NAME = MesaLib-$(VERSION)
+DEMO_NAME = MesaDemos-$(VERSION)
+GLUT_NAME = MesaGLUT-$(VERSION)
 
 MAIN_FILES = \
        $(DIRECTORY)/Makefile*                                          \