summaryrefslogtreecommitdiffstats
path: root/pkg/module.rules
diff options
context:
space:
mode:
authorkonablend <[email protected]>2013-03-11 22:20:20 +0000
committerkonablend <[email protected]>2013-03-11 22:20:20 +0000
commitde6c4ab0fe08e765c4e4498e73d6d3b09af582ad (patch)
tree951689d5803d174c046ae7b3d027984012c2887b /pkg/module.rules
parent287c85bf19c44037426c0e8d8a30f75a0005c492 (diff)
packaging: add new target: pkg.createx
Target will do pkg.create plus creation of -contrib.tar.bz2 tarball containing all contrib tarballs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5324 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/module.rules')
-rw-r--r--pkg/module.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/module.rules b/pkg/module.rules
index f841fd93b..da46620f1 100644
--- a/pkg/module.rules
+++ b/pkg/module.rules
@@ -6,6 +6,8 @@ $(eval $(call import.MODULE.rules,PKG))
pkg.create:: $(PKG.src.tar.bz2)
+pkg.createx:: pkg.create $(PKG.src-contrib.tar.bz2)
+
pkg.clean:
$(RM.exe) -fr $(STAGE.out/)
$(RM.exe) -fr $(PKG.out/)
@@ -20,6 +22,10 @@ $(STAGE.out.src/):
$@/$(PKG.basename)/make/configure.py > $@/$(PKG.basename)/make/configure.py.tmp
$(MV.exe) $@/$(PKG.basename)/make/configure.py.tmp $@/$(PKG.basename)/make/configure.py
+$(PKG.src-contrib.tar.bz2):
+ $(TAR.exe) cjf $@ -C $(CONTRIB.download/) \
+ $(foreach f,$(MODULES.NAMES),$(notdir $($f.FETCH.tar)))
+
###############################################################################
## include optional platform packaging