summaryrefslogtreecommitdiffstats
path: root/pkg/darwin/module.rules
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-18 21:28:13 +0000
committerkonablend <[email protected]>2009-06-18 21:28:13 +0000
commitb5c4c49730a56e532c8b744daba78065a19e8111 (patch)
tree9a7d2f46fcb76b4114e774d70140405dee006dd3 /pkg/darwin/module.rules
parentd2bec4f2c724de7059ad577109f480ae86432f7a (diff)
BuildSystem: added 'make pkg.clean'
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2573 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/darwin/module.rules')
-rw-r--r--pkg/darwin/module.rules34
1 files changed, 13 insertions, 21 deletions
diff --git a/pkg/darwin/module.rules b/pkg/darwin/module.rules
index 7ddaf113c..9091c0704 100644
--- a/pkg/darwin/module.rules
+++ b/pkg/darwin/module.rules
@@ -11,17 +11,17 @@ $(PKG.appcast): $(PKG.in/)appcast.xml.m4
$(PKG.in/)appcast.xml.m4 > $@
$(PKG.cli.dmg): | $(dir $(PKG.cli.dmg))
-$(PKG.cli.dmg): | $(STAGE.cli/)
- hdiutil create -srcfolder $(STAGE.cli/) -format UDRO -mode 755 \
+$(PKG.cli.dmg): | $(STAGE.out.cli/)
+ hdiutil create -srcfolder $(STAGE.out.cli/) -format UDRO -mode 755 \
-volname $(basename $(notdir $@)) \
-ov $(PKG.cli.tmp.dmg)
hdiutil convert -format UDBZ -o $@ $(PKG.cli.tmp.dmg)
$(RM.exe) $(PKG.cli.tmp.dmg)
$(PKG.gui.dmg): | $(dir $(PKG.gui.dmg))
-$(PKG.gui.dmg): | $(STAGE.gui/)
+$(PKG.gui.dmg): | $(STAGE.out.gui/)
ifeq (1-darwin,$(FEATURE.xcode)-$(BUILD.system))
- hdiutil create -srcfolder $(STAGE.gui/) -format UDRO -mode 755 \
+ hdiutil create -srcfolder $(STAGE.out.gui/) -format UDRO -mode 755 \
-volname $(basename $(notdir $@)) \
-ov $(PKG.gui.tmp.dmg)
hdiutil convert -format UDBZ -o $@ $(PKG.gui.tmp.dmg)
@@ -30,33 +30,25 @@ else
$(TOUCH.exe) $@
endif
-pkg.cli.clean:
- $(RM.exe) -fr $(STAGE.cli/)
- $(RM.exe) $(PKG.cli.dmg)
-
-pkg.gui.clean:
- $(RM.exe) -fr $(STAGE.gui/)
- $(RM.exe) $(PKG.gui.dmg)
-
-$(STAGE.cli/):
+$(STAGE.out.cli/):
$(MKDIR.exe) -p $@
ifeq (1-darwin,$(FEATURE.xcode)-$(BUILD.system))
- $(CP.exe) $(BUILD/)HandBrakeCLI $(STAGE.cli/)
- $(call STAGE.doc,$(STAGE.cli/))
+ $(CP.exe) $(BUILD/)HandBrakeCLI $(STAGE.out.cli/)
+ $(call STAGE.doc,$(STAGE.out.cli/))
else
$(CP.exe) $(TEST.exe) $(STAGE.cli/)
- $(call STAGE.doc,$(STAGE.cli/))
+ $(call STAGE.doc,$(STAGE.out.cli/))
endif
-$(STAGE.gui/):
+$(STAGE.out.gui/):
$(MKDIR.exe) -p $@
ifeq (1-darwin,$(FEATURE.xcode)-$(BUILD.system))
- $(CP.exe) -R $(BUILD/)HandBrake.app $(STAGE.gui/)
+ $(CP.exe) -R $(BUILD/)HandBrake.app $(STAGE.out.gui/)
$(LIPO.exe) -thin $(BUILD.arch) \
$(SRC/)macosx/Growl.framework/Versions/A/Growl \
- -output $(STAGE.gui/)HandBrake.app/Contents/Frameworks/Growl.framework/Versions/A/Growl
+ -output $(STAGE.out.gui/)HandBrake.app/Contents/Frameworks/Growl.framework/Versions/A/Growl
$(LIPO.exe) -thin $(BUILD.arch) \
$(SRC/)macosx/Sparkle.framework/Versions/A/Sparkle \
- -output $(STAGE.gui/)HandBrake.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
- $(call STAGE.doc,$(STAGE.gui/))
+ -output $(STAGE.out.gui/)HandBrake.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
+ $(call STAGE.doc,$(STAGE.out.gui/))
endif