summaryrefslogtreecommitdiffstats
path: root/pkg/mingw
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
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')
-rw-r--r--pkg/mingw/module.defs2
-rw-r--r--pkg/mingw/module.rules11
2 files changed, 6 insertions, 7 deletions
diff --git a/pkg/mingw/module.defs b/pkg/mingw/module.defs
index f71e24e67..054a4d0d7 100644
--- a/pkg/mingw/module.defs
+++ b/pkg/mingw/module.defs
@@ -1,6 +1,6 @@
PKG.cli.zip = $(PKG.out/)$(HB.name)-$(HB.version)-Win_CLI.zip
-PKG.cli.tmp.zip = $(PKG.out/)$(HB.name)-$(HB.version)-Win_CLI.tmp.zip
+PKG.mingw.lib = $(SRC/)libraries
STAGE.out.cli/ = $(STAGE.out/)cli/
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/))