diff options
Diffstat (limited to 'abstractions')
-rw-r--r-- | abstractions/Makefile | 2 | ||||
-rwxr-xr-x | abstractions/Makefile.buildlayout | 26 |
2 files changed, 26 insertions, 2 deletions
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 @@ -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 # #==============================================================================# |