diff options
author | sr55 <[email protected]> | 2013-03-16 17:42:04 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-03-16 17:42:04 +0000 |
commit | 9d05a26fce915e6577c9518f3d739d1ec08a5b57 (patch) | |
tree | dddaebaa813702f990ede62e5d92284fd550b7e7 /pkg | |
parent | 7ee0ec4613c8af58bb9d0aaf5fd02cef2d0e518c (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')
-rw-r--r-- | pkg/linux/module.defs | 10 | ||||
-rw-r--r-- | pkg/linux/module.rules | 17 |
2 files changed, 26 insertions, 1 deletions
diff --git a/pkg/linux/module.defs b/pkg/linux/module.defs index e4232b343..2570d0857 100644 --- a/pkg/linux/module.defs +++ b/pkg/linux/module.defs @@ -3,6 +3,15 @@ PKG.rpm.machine = `rpm -E "%_target_cpu"` PKG.release = 1 PKG.rpm.dist = `rpm -E "%dist"` + +############################################################################### + +PKG.cli.tar = $(PKG.out/)$(HB.name)-$(HB.version)-$(BUILD.machine)_CLI.tar.gz + +STAGE.out.cli/ = $(STAGE.out/)cli/ + +############################################################################### + PKG.rpm.src.tar.bz2 = $(STAGE.out.src/)rpm/$(PKG.basename).tar.bz2 STAGE.out.rpm.src/ = $(STAGE.out.src/)rpm/ @@ -36,3 +45,4 @@ BUILD.out += $(PKG.cli.deb) BUILD.out += $(PKG.gui.deb) BUILD.out += $(PKG.cli.rpm) BUILD.out += $(PKG.gui.rpm) +BUILD.out += $(PKG.cli.tar) 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) |