summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-06-28 10:10:08 +0200
committerOndřej Surý <ondrej@sury.org>2013-06-28 12:59:09 +0200
commit2de0b2d1d156584bff6a455c6586b677dff6bd87 (patch)
tree1f9843ac2d2d67a8b31c71ac66cde12ae0cd52a5
parentb2a6e444bb72a335dc6bbb416644a39e05e4f536 (diff)
downloadknot-2de0b2d1d156584bff6a455c6586b677dff6bd87.tar.gz
Fix missing $\(DESTDIR\) in src/Makefile.am
-rw-r--r--debian/patches/DESTDIR_is_your_friend.patch10
-rw-r--r--debian/patches/series1
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/DESTDIR_is_your_friend.patch b/debian/patches/DESTDIR_is_your_friend.patch
new file mode 100644
index 0000000..ebd6830
--- /dev/null
+++ b/debian/patches/DESTDIR_is_your_friend.patch
@@ -0,0 +1,10 @@
+--- knot.orig/src/Makefile.am
++++ knot/src/Makefile.am
+@@ -316,5 +316,5 @@ zscanner_tool_LDADD = libknots.la libkno
+
+ # Create storage and run-time directories
+ install-data-hook:
+- $(INSTALL) -d @run_dir@
+- $(INSTALL) -d @storage_dir@
++ $(INSTALL) -d $(DESTDIR)/@run_dir@
++ $(INSTALL) -d $(DESTDIR)/@storage_dir@
diff --git a/debian/patches/series b/debian/patches/series
index e2d6de4..7a1d34a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
run-as-knot.knot.patch
+DESTDIR_is_your_friend.patch