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 /configure | |
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 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -97,6 +97,20 @@ else MAKE=make fi +# If the user included the --snapshot argument, mark it down. +if [[ $1 = "--snapshot" ]] +then + SNAPSHOT=1 +else + SNAPSHOT=0 +fi + +# Generating the HB_BUILD and HB_VERSION for snapshots requires +# the build date, working path, and current SVN revision. +BUILD_DATE=$(date +%Y%m%d) +FULL_PATH=$(pwd) +SVN_REV=$(svnversion) + # Generate config.jam rm -f config.jam cat << EOF > config.jam @@ -109,6 +123,10 @@ OPTIM = $OPTIM ; DEFINES = $DEFINES ; LINKLIBS = $LINKLIBS ; MAKE = $MAKE ; +SNAPSHOT = $SNAPSHOT ; +BUILD_DATE = $BUILD_DATE ; +FULL_PATH = $FULL_PATH ; +SVN_REV = $SVN_REV ; EOF echo |