From af956011f7d4548ed67ae5633348040df877c6e7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 21 Nov 2005 23:02:55 +0000 Subject: created Pd-0.38.4-extendedRC3.app release svn path=/trunk/; revision=4012 --- abstractions/Makefile | 2 +- abstractions/Makefile.buildlayout | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) (limited to 'abstractions') diff --git a/abstractions/Makefile b/abstractions/Makefile index fb696f15..3c5e2cc5 100644 --- a/abstractions/Makefile +++ b/abstractions/Makefile @@ -190,7 +190,6 @@ objects_pddp: install -p $(shell ls -1 $(ABSTRACTIONS_SRC)/pddp/*.pd | \ grep -v '\-help.pd') $(OBJECTS_DEST)/$(PDDP_NAME) $(SCRIPTS_SRC)/generate-libdir-metafile.sh $(OBJECTS_DEST) $(PDDP_NAME) \ - --author "Hans-Christoph Steiner" \ --license "GNU GPL" \ --description "support objects for the Pure Data Documentation Project" install -d $(HELP_DEST)/$(PDDP_NAME) @@ -199,6 +198,7 @@ objects_pddp: # install -d $(MANUALS_DEST)/$(PDDP_NAME) # install -d $(APPLICATIONS_DEST)/$(PDDP_NAME) + #------------------------------------------------------------------------------- # RRADical RRADICAL_NAME = rradical 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 @@ -113,6 +112,31 @@ $(OBJECTS_DEST): $(INSTALL_PREFIX) install -d $(OBJECTS_DEST) +#==============================================================================# +# +# 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 -- cgit v1.2.1