diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-14 14:09:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-14 14:09:24 -0300 |
commit | 6cb17182cfb1807d626a4da1251611a3ab4d1db7 (patch) | |
tree | c9737c88a83ca1802bc1651968fca36658986865 | |
parent | 06f86ca0b54dc4f71ab055a3b3c3299d975da8e0 (diff) | |
download | keyringer-6cb17182cfb1807d626a4da1251611a3ab4d1db7.tar.gz keyringer-6cb17182cfb1807d626a4da1251611a3ab4d1db7.tar.bz2 |
Adding tarball and dh targets
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | development.mdwn | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -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: |