From 9d05a26fce915e6577c9518f3d739d1ec08a5b57 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 16 Mar 2013 17:42:04 +0000 Subject: added make pkg.create.tar git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5330 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- pkg/linux/module.rules | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'pkg/linux/module.rules') 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) -- cgit v1.2.3