summaryrefslogtreecommitdiffstats
path: root/pkg/mingw
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/mingw')
-rw-r--r--pkg/mingw/module.defs9
-rw-r--r--pkg/mingw/module.rules5
2 files changed, 14 insertions, 0 deletions
diff --git a/pkg/mingw/module.defs b/pkg/mingw/module.defs
new file mode 100644
index 000000000..f71e24e67
--- /dev/null
+++ b/pkg/mingw/module.defs
@@ -0,0 +1,9 @@
+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
+
+STAGE.out.cli/ = $(STAGE.out/)cli/
+
+###############################################################################
+
+BUILD.out += $(PKG.cli.zip)
diff --git a/pkg/mingw/module.rules b/pkg/mingw/module.rules
new file mode 100644
index 000000000..c09235378
--- /dev/null
+++ b/pkg/mingw/module.rules
@@ -0,0 +1,5 @@
+pkg.create:: $(PKG.cli.zip)
+
+$(PKG.cli.zip): | $(dir $(PKG.cli.zip))
+$(PKG.cli.zip): $(PKG.gui.zip)
+ $(MV.exe) $(PKG.cli.tmp.zip) $(PKG.cli.zip)