summaryrefslogtreecommitdiffstats
path: root/pkg/linux/module.rules
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-03-16 17:42:04 +0000
committersr55 <[email protected]>2013-03-16 17:42:04 +0000
commit9d05a26fce915e6577c9518f3d739d1ec08a5b57 (patch)
treedddaebaa813702f990ede62e5d92284fd550b7e7 /pkg/linux/module.rules
parent7ee0ec4613c8af58bb9d0aaf5fd02cef2d0e518c (diff)
added make pkg.create.tar
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5330 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/linux/module.rules')
-rw-r--r--pkg/linux/module.rules17
1 files changed, 16 insertions, 1 deletions
diff --git a/pkg/linux/module.rules b/pkg/linux/module.rules
index af38b061a..ac3cf13d2 100644
--- a/pkg/linux/module.rules
+++ b/pkg/linux/module.rules
@@ -1,12 +1,27 @@
pkg.create.deb:: $(PKG.gui.deb) $(PKG.cli.deb)
pkg.create.rpm:: $(PKG.gui.rpm)
pkg.create.src.deb:: $(PKG.src.deb.stamp)
+pkg.create.tar:: pkg.create $(PKG.cli.tar)
+
+#
+# CLI Tar Package
+#
+
+$(PKG.cli.tar): | $(dir $(PKG.cli.tar))
+$(PKG.cli.tar): | $(STAGE.out.cli/)
+ cd $(STAGE.out.cli/) && $(TAR.exe) cjf $(call fn.ABSOLUTE,$(PKG.cli.tar)) .
+
+
+$(STAGE.out.cli/):
+ -$(MKDIR.exe) -p $@
+ $(CP.exe) HandBrakeCLI $(STAGE.out.cli/)
+ $(call STAGE.doc,$(STAGE.out.cli/))
#
# RPM binary package rules
#
$(PKG.rpm.src.tar.bz2): $(STAGE.out.rpm.src/)
- $(TAR.exe) cjf $@ -C $(STAGE.out.rpm.src/) $(PKG.basename)
+ $(TAR.exe) cvzf $@ -C $(STAGE.out.rpm.src/) $(PKG.basename)
$(STAGE.out.rpm.src/): GNUmakefile
# -$(MKDIR.exe) -p $(STAGE.out.rpm.src/)$(PKG.basename)