summaryrefslogtreecommitdiffstats
path: root/pkg/mingw/module.rules
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-03-28 16:58:47 +0000
committerjstebbins <[email protected]>2010-03-28 16:58:47 +0000
commit5622a68ff2c2d3394867258b1b44291c2534fe66 (patch)
tree017909cacf780d62742502ab2e1ca05c622ec7fb /pkg/mingw/module.rules
parentb6d0623b5f63547b038d4b42a694023716c685fd (diff)
give s55 a helping hand with createing mingw CLI zip
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3178 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/mingw/module.rules')
-rw-r--r--pkg/mingw/module.rules11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkg/mingw/module.rules b/pkg/mingw/module.rules
index 8d075595d..efef0b4b8 100644
--- a/pkg/mingw/module.rules
+++ b/pkg/mingw/module.rules
@@ -1,15 +1,14 @@
-pkg.create:: $(PKG.cli.zip)
+pkg.create.zip:: pkg.create $(PKG.cli.zip)
$(PKG.cli.zip): | $(dir $(PKG.cli.zip))
$(PKG.cli.zip): | $(STAGE.out.cli/)
- $(STAGE.out.cli/)
-
+ cd $(STAGE.out.cli/) && $(ZIP.exe) -r $(call fn.ABSOLUTE,$(PKG.cli.zip)) .
$(STAGE.out.cli/):
- $(MKDIR.exe) -p $@
- $(CP.exe) HandBrakeCLI.exe ./stage/cli
- $(CP.exe) ../libraries/libgcc_s_sjlj-1.dll ./stage/cli
+ -$(MKDIR.exe) -p $@
+ $(CP.exe) HandBrakeCLI.exe $(STAGE.out.cli/)
+ $(CP.exe) $(PKG.mingw.lib)/libgcc_s_sjlj-1.dll $(STAGE.out.cli/)
$(call STAGE.doc,$(STAGE.out.cli/))