summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-06-28 10:12:48 +0200
committerOndřej Surý <ondrej@sury.org>2013-06-28 12:59:10 +0200
commit7deba53cfde4d56033dcf524b9d5dc7bc93c1bc2 (patch)
treedb7a7650c9dc5212f9d6be2b6a05e263a99ed7e2
parentd9d6882691f1f3c82b2678fffe7fba1e5e61a751 (diff)
downloadknot-7deba53cfde4d56033dcf524b9d5dc7bc93c1bc2.tar.gz
Fix the installation of knot.conf and add samples/* to examples.
-rw-r--r--debian/knot.examples3
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/knot.examples b/debian/knot.examples
new file mode 100644
index 0000000..351a6f7
--- /dev/null
+++ b/debian/knot.examples
@@ -0,0 +1,3 @@
+samples/knot.full.conf
+samples/example.com.zone
+samples/knot.keys.conf
diff --git a/debian/rules b/debian/rules
index 3599614..0838dde 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,6 @@ override_dh_strip:
dh_strip --dbg-package=knot-dbg
override_dh_install:
- mv $(CURDIR)/debian/tmp/etc/knot/knot.sample.conf $(CURDIR)/debian/tmp/knot/knot.conf
+ mv $(CURDIR)/debian/tmp/etc/knot/knot.sample.conf $(CURDIR)/debian/tmp/etc/knot/knot.conf
rm $(CURDIR)/debian/tmp/etc/knot/example.com.zone
dh_install --fail-missing