summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-03-28 14:39:50 +0000
committersr55 <[email protected]>2010-03-28 14:39:50 +0000
commitc90e79530930510a46275c0c24ca47ae8f9563b9 (patch)
tree6bf867f1532b8270123108128e7e64eda9a81925 /pkg
parent5bd02ec1b33a60fad92cb0236cebeee41c1485f4 (diff)
MinGW:
- Initial checkin of some files for making CLI zip packages. This isn't functional yet but hopefully will be later. Also having to checkin a required dll which will be copied into the package. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3176 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg')
-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)