1 # $Id: Jamrules,v 1.59 2005/11/04 16:06:21 titer Exp $
3 # This file is part of the HandBrake source code.
4 # Homepage: <http://handbrake.m0k.org/>.
5 # It may be used under the terms of the GNU General Public License.
11 Exit "Please run ./configure first." ;
15 HB_BUILD = 2008021900 ;
16 DEFINES += HB_VERSION=\\\"$(HB_VERSION)\\\" HB_BUILD=$(HB_BUILD) ;
17 LANGUAGES = fr de it pl ru nl es pt ja ;
20 # Build HandBrake.app using Xcode
25 Clean clean : $(1) macosx/build ;
29 $(RM) $(<) macosx/build/HandBrake.app && \
30 ( cd macosx && xcodebuild -target libhb -target HandBrake -target HandBrakeCLI ) && \
31 for i in $(LANGUAGES) ; do \
32 ( cd $(<)/Contents/Resources && \
33 cp -r English.lproj $i.lproj && \
34 cp ../../../macosx/i18n/$i.strings \
35 $i.lproj/Localizable.strings ) \
44 rm -rf $(<) "HandBrake $(HB_VERSION)" && \
45 mkdir "HandBrake $(HB_VERSION)" && \
46 cp AUTHORS "HandBrake $(HB_VERSION)/AUTHORS.txt" && \
47 cp COPYING "HandBrake $(HB_VERSION)/COPYING.txt" && \
48 cp CREDITS "HandBrake $(HB_VERSION)/CREDITS.txt" && \
49 cp THANKS "HandBrake $(HB_VERSION)/THANKS.txt" && \
50 ( echo "[InternetShortcut]" && \
51 echo "URL=http://handbrake.m0k.org/" ) > \
52 "HandBrake $(HB_VERSION)/HandBrake Homepage.url" && \
53 ( echo "[InternetShortcut]" && \
54 echo "URL=http://handbrake.m0k.org/forum/" ) > \
55 "HandBrake $(HB_VERSION)/HandBrake Forums.url" && \
56 ( echo "[InternetShortcut]" && \
57 echo "URL=http://handbrake.m0k.org/contribute.php" ) > \
58 "HandBrake $(HB_VERSION)/Contribute.url" && \
59 cp -r HandBrake.app "HandBrake $(HB_VERSION)" && \
60 zip -9 -r $(<) "HandBrake $(HB_VERSION)" && \
61 rm -rf "HandBrake $(HB_VERSION)"
67 BuildBeOSPackage $(<) ;
69 actions BuildBeOSPackage
71 rm -rf $(<) "HandBrake $(HB_VERSION)" && \
72 mkdir "HandBrake $(HB_VERSION)" && \
73 cp AUTHORS "HandBrake $(HB_VERSION)/AUTHORS.txt" && \
74 cp COPYING "HandBrake $(HB_VERSION)/COPYING.txt" && \
75 cp CREDITS "HandBrake $(HB_VERSION)/CREDITS.txt" && \
76 cp THANKS "HandBrake $(HB_VERSION)/THANKS.txt" && \
77 xres -o HandBrake beos/HandBrake.rsrc && \
78 cp HandBrake "HandBrake $(HB_VERSION)" && \
79 zip -9 -r $(<) "HandBrake $(HB_VERSION)" && \
80 rm -rf "HandBrake $(HB_VERSION)"