[Pkg-virtualbox-commits] [virtualbox-ext-pack] 03/03: Add target to generate tarball
Gianfranco Costamagna
locutusofborg-guest at moszumanska.debian.org
Sat Oct 3 14:19:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
locutusofborg-guest pushed a commit to branch master
in repository virtualbox-ext-pack.
commit 499e9106ae549d530977efe2ae649b5aaaf9a427
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Sat Oct 3 16:18:06 2015 +0200
Add target to generate tarball
---
debian/README.source | 7 ++-----
debian/rules | 7 +++++++
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index f1aa4cb..a5e1c20 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,7 +1,4 @@
This package has nothing inside the tarball.
-In order to create a tarball you can
-
-mkdir virtualbox-ext-pack_VERSION
-tar cJvf virtualbox-ext-pack_VERSION.orig.tar.xz virtualbox-ext-pack_VERSION
-rm -rf virtualbox-ext-pack_VERSION
+In order to create a tarball you can set the VERSION variable in rules file
+and call debian/rules tarball target.
diff --git a/debian/rules b/debian/rules
index 8274282..e74f111 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,15 @@
#!/usr/bin/make -f
+VERSION=5.0.6
%:
dh $@
override_dh_clean:
debconf-updatepo
dh_clean
+
+tarball:
+ mkdir virtualbox-ext-pack_$(VERSION)
+ tar cJvf virtualbox-ext-pack_$(VERSION).orig.tar.xz virtualbox-ext-pack_$(VERSION)
+ rm -rf virtualbox-ext-pack_$(VERSION)
+ mv virtualbox-ext-pack_$(VERSION).orig.tar.xz ..
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git
More information about the Pkg-virtualbox-commits
mailing list