diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-21 23:02:55 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-21 23:02:55 +0000 |
commit | af956011f7d4548ed67ae5633348040df877c6e7 (patch) | |
tree | c2faf5a68037c7abd512a5290b7ac79398cbcf0b /abstractions/Makefile.buildlayout | |
parent | c63477f28fb58e3c14ff16a8173f431a281053fc (diff) |
created Pd-0.38.4-extendedRC3.app release
svn path=/trunk/; revision=4012
Diffstat (limited to 'abstractions/Makefile.buildlayout')
-rwxr-xr-x | abstractions/Makefile.buildlayout | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/abstractions/Makefile.buildlayout b/abstractions/Makefile.buildlayout index d5b9e9f3..c42f20c3 100755 --- a/abstractions/Makefile.buildlayout +++ b/abstractions/Makefile.buildlayout @@ -56,7 +56,6 @@ else endif endif - #==============================================================================# # # DIRECTORY STRUCTURE @@ -115,6 +114,31 @@ $(OBJECTS_DEST): $(INSTALL_PREFIX) #==============================================================================# # +# 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 # #==============================================================================# |