summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-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/))
+