summaryrefslogtreecommitdiffstats
path: root/pkg/mingw
diff options
context:
space:
mode:
authorScott <[email protected]>2015-09-25 21:51:42 +0100
committerScott <[email protected]>2015-09-25 21:51:42 +0100
commite500c7d15da307f62648c37bb797e93ee612fb48 (patch)
tree1d1e6558c8787e7d1bbdf77b7afed58c278c9a0a /pkg/mingw
parentc1eadf28e6e96574c136d600588b69e9962766c9 (diff)
Adding libhb zip package to the MinGW Build
make pkg.create.zip will now create a libhb.zip package as well as a HandBrakeCLI one.
Diffstat (limited to 'pkg/mingw')
-rw-r--r--pkg/mingw/module.defs3
-rw-r--r--pkg/mingw/module.rules11
2 files changed, 13 insertions, 1 deletions
diff --git a/pkg/mingw/module.defs b/pkg/mingw/module.defs
index cce22d66f..c244e9165 100644
--- a/pkg/mingw/module.defs
+++ b/pkg/mingw/module.defs
@@ -1,9 +1,12 @@
PKG.cli.zip = $(PKG.out/)$(HB.name)-$(HB.version)-$(BUILD.machine)-Win_CLI.zip
+PKG.libhb.zip = $(PKG.out/)$(HB.name)-$(HB.version)-$(BUILD.machine)-libhb.zip
PKG.mingw.lib = $(SRC/)libraries
STAGE.out.cli/ = $(STAGE.out/)cli/
+STAGE.out.libhb/ = $(STAGE.out/)libhb/
###############################################################################
BUILD.out += $(PKG.cli.zip)
+BUILD.out += $(PKG.libhb.zip)
diff --git a/pkg/mingw/module.rules b/pkg/mingw/module.rules
index 3ce0580b8..c8d132cef 100644
--- a/pkg/mingw/module.rules
+++ b/pkg/mingw/module.rules
@@ -1,9 +1,12 @@
-pkg.create.zip:: pkg.create $(PKG.cli.zip)
+pkg.create.zip:: pkg.create $(PKG.cli.zip) $(PKG.libhb.zip)
$(PKG.cli.zip): | $(dir $(PKG.cli.zip))
$(PKG.cli.zip): | $(STAGE.out.cli/)
cd $(STAGE.out.cli/) && $(ZIP.exe) -r $(call fn.ABSOLUTE,$(PKG.cli.zip)) .
+$(PKG.libhb.zip): | $(dir $(PKG.libhb.zip))
+$(PKG.libhb.zip): | $(STAGE.out.libhb/)
+ cd $(STAGE.out.libhb/) && $(ZIP.exe) -r $(call fn.ABSOLUTE,$(PKG.libhb.zip)) .
$(STAGE.out.cli/):
-$(MKDIR.exe) -p $@
@@ -11,4 +14,10 @@ $(STAGE.out.cli/):
$(CP.exe) -R contrib/etc/fonts $(STAGE.out.cli/)/fonts/
$(call STAGE.doc,$(STAGE.out.cli/))
+$(STAGE.out.libhb/):
+ -$(MKDIR.exe) -p $@
+ $(CP.exe) libhb/hb.dll $(STAGE.out.libhb/)
+ $(CP.exe) -R contrib/etc/fonts $(STAGE.out.libhb/)/fonts/
+ $(call STAGE.doc,$(STAGE.out.libhb/))
+