summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-14 14:09:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-14 14:09:24 -0300
commit6cb17182cfb1807d626a4da1251611a3ab4d1db7 (patch)
treec9737c88a83ca1802bc1651968fca36658986865
parent06f86ca0b54dc4f71ab055a3b3c3299d975da8e0 (diff)
downloadkeyringer-6cb17182cfb1807d626a4da1251611a3ab4d1db7.tar.gz
keyringer-6cb17182cfb1807d626a4da1251611a3ab4d1db7.tar.bz2
Adding tarball and dh targets
-rw-r--r--Makefile6
-rw-r--r--development.mdwn6
2 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d7ff5fb..5768b4b 100644
--- a/Makefile
+++ b/Makefile
@@ -44,3 +44,9 @@ install: clean
build_man:
pandoc -s -w man share/man/keyringer.1.mdwn -o share/man/keyringer.1
+
+tarball:
+ git archive --prefix=keyringer-$(VERSION)/ --format=tar HEAD | gzip >../tarballs/keyringer-$(VERSION).tar.gz
+
+dh:
+ dh_make -f ../tarballs/keyringer-$(VERSION).tar.gz -i -p keyringer_$(VERSION)
diff --git a/development.mdwn b/development.mdwn
index 5894306..d2cdcaf 100644
--- a/development.mdwn
+++ b/development.mdwn
@@ -21,11 +21,11 @@ Creating the `debian/` structure:
Creating a release file:
- git archive --format=tar HEAD | gzip >../tarballs/keyringer-0.1.tar.gz
+ make tarball
-To generate a `keyringer_0.1.orig.tar.gz`-line file:
+To generate a `keyringer_VERSION.orig.tar.gz` file:
- dh_make -f ../tarballs/keyringer-0.1.tar.gz -p keyringer_0.1
+ make dh
Setting up a sid pbuilder chroot: