diff options
author | jbrjake <[email protected]> | 2008-03-19 18:34:36 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-03-19 18:34:36 +0000 |
commit | 60980a0eef6853d3a34e1727c5b3570aff1be548 (patch) | |
tree | fca453b7c19ad83fb8bff745b09b71fcf837c105 /Makefile.config | |
parent | f63833727ecf1725bb36b5d6d7dfc1353259a0e8 (diff) |
- Method for generating snapshot builds marked with the svn revision by using ./configure --snapshot; ./jam
- Targets for generating snapshot Mac universal binaries by using make snapshot and packaging Mac snapshot releases
- Sets the current date for HB_BUILD in jam
- Sets the Mac .plist version and build based on the jam/make config
- Bumps the version number to 0.9.3
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1346 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'Makefile.config')
-rw-r--r-- | Makefile.config | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/Makefile.config b/Makefile.config index fa337658e..a49dbe340 100644 --- a/Makefile.config +++ b/Makefile.config @@ -1,15 +1,22 @@ -SNAP = $(shell echo $$SNAPSHOT) -ifeq ($(SNAP), 1) -HB_BUILD = $(shell date "+%Y%m%d")00 -HB_VERSION = 0.9.2s$(shell date "+%d") -else +# This line needs to be manually bumped for each release. +HB_VERSION = 0.9.3 + +# Use the current date for the build number HB_BUILD = $(shell date "+%Y%m%d")00 -HB_VERSION = "0.9.2" -endif + +# Do the same for snapshots but mark as unstable +SNAP_HB_BUILD = $(shell date "+%Y%m%d")01 + +# For snapshots add the svn revision number to the HB_VERSION +SNAP_HB_VERSION = $(HB_VERSION)svn$(shell svnversion) + +# The working path is needed for editing the MacGui .plist +FULL_PATH = $(shell pwd) +BUILD_DATE = $(shell date "+%Y%m%d") + HB_DEFPPC = $(shell uname -a | grep ppc > /dev/null ; echo RES$$?) ifeq ($(HB_DEFPPC), RES0) HB_DEFPPC = "-DWORDS_BIGENDIAN" else HB_DEFPPC = endif - |