summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: