OSDN Git Service

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 840b414..bf69b2a 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*                                          \