[PD-cvs] externals Makefile.buildlayout,1.3,1.4
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Tue Nov 22 00:02:57 CET 2005
Update of /cvsroot/pure-data/externals
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8048
Modified Files:
Makefile.buildlayout
Log Message:
created Pd-0.38.4-extendedRC3.app release
Index: Makefile.buildlayout
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile.buildlayout,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Makefile.buildlayout 21 Nov 2005 04:48:44 -0000 1.3
--- Makefile.buildlayout 21 Nov 2005 23:02:55 -0000 1.4
***************
*** 57,61 ****
endif
-
#==============================================================================#
#
--- 57,60 ----
***************
*** 116,119 ****
--- 115,143 ----
#==============================================================================#
#
+ # PD VERSION AND PACKAGE NAMING
+ #
+ #==============================================================================#
+
+
+ PD_MAJOR_VERSION := $(shell grep 'Pd version' $(PD_SRC)/src/s_main.c | \
+ sed 's/char pd_version\[\] = "Pd version \([0-9]\)\.[0-9]*[. TES-]*[0-9]*[0-9extndRC.-]*\\n";/\1/')
+ PD_MINOR_VERSION := $(shell grep 'Pd version' $(PD_SRC)/src/s_main.c | \
+ sed 's/char pd_version\[\] = "Pd version [0-9]\.\([0-9]*\)[. TES-]*\([0-9]*\)[0-9extndRC.-]*\\n";/\1/')
+ PD_BUGFIX_VERSION := $(shell grep 'Pd version' $(PD_SRC)/src/s_main.c | \
+ sed 's/char pd_version\[\] = "Pd version [0-9]\.[0-9]*[. TES-]*\([0-9]*\)[0-9extndRC.-]*\\n";/\1/')
+ # the separators [.-] need to be the same as in s_main.c or the regexps break
+ PD_VERSION = $(PD_MAJOR_VERSION).$(PD_MINOR_VERSION).$(PD_BUGFIX_VERSION)
+
+
+ # release version for this distro
+ PACKAGE_VERSION = extended-RC3
+ PACKAGE_NAME = Pd-$(PD_VERSION)-$(PACKAGE_VERSION)
+ DMG_NAME = $(PACKAGE_NAME)
+
+
+
+
+ #==============================================================================#
+ #
# CLEAN TARGETS
#
More information about the Pd-cvs
mailing list