summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2007-08-15 20:14:53 +0000
committerjbrjake <[email protected]>2007-08-15 20:14:53 +0000
commite2b2afe3f96fdea932e0d0b6d9daac0527508467 (patch)
treeb149c1678bb0478bd3c92016d90c7dfb266ee959 /Makefile
parent61aabd8a6e928b168161b523a97ed7d6f5e6bb8b (diff)
Adds scripts to the Makefile for Mac to "make gui-release" and "make cli-release" to easily build a .dmg for each. The gui one uses bz compression, since the MacGui isn't Panther-compatible anyway. To save bandwidth, not including pdfs or api.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@816 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3c8c031f5..00d9677f3 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,12 @@ mrproper:
release:
(rm -rf HandBrake HandBrake*dmg ; mkdir -p HandBrake/api HandBrake/doc HandBrake/doc/pdf; cp test/BUILDSHARED AUTHORS BUILD COPYING CREDITS NEWS THANKS TRANSLATIONS HandBrake/doc ; cp -rp pdf/ HandBrake/doc/pdf/ ; cp -rp HandBrake.app HandBrake ; cp -rp libhb/libhb.dylib HandBrake/api ; cp -rp libhb/hb.h libhb/common.h libhb/ports.h HandBrake/api ; cp -rp HandBrakeCLI HandBrake ; hdiutil create -srcfolder HandBrake -format UDZO HandBrake-$(HB_VERSION)-MacOS_UB.dmg ; rm -rf HandBrake )
+gui-release:
+ (rm -rf HandBrake HandBrake*GUI_UB.dmg ; mkdir -p HandBrake/docs ; cp AUTHORS BUILD COPYING CREDITS NEWS THANKS TRANSLATIONS HandBrake/docs ; cp -rp HandBrake.app HandBrake ; hdiutil create -srcfolder HandBrake -format UDBZ HandBrake-$(HB_VERSION)-MacOSX.4_GUI_UB.dmg ; rm -rf HandBrake )
+
+cli-release:
+ (rm -rf HandBrake HandBrake*CLI_UB.dmg ; mkdir -p HandBrake/docs ; cp test/BUILDSHARED AUTHORS BUILD COPYING CREDITS NEWS THANKS TRANSLATIONS HandBrake/docs ; cp -rp HandBrakeCLI HandBrake ; hdiutil create -srcfolder HandBrake -format UDZO HandBrake-$(HB_VERSION)-MacOSX.3_CLI_UB.dmg ; rm -rf HandBrake )
+
endif
ifeq ($(SYSTEM),Linux)