summaryrefslogtreecommitdiff
path: root/extra/stardict/help-in-destdir.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/stardict/help-in-destdir.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/stardict/help-in-destdir.patch')
-rw-r--r--extra/stardict/help-in-destdir.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/stardict/help-in-destdir.patch b/extra/stardict/help-in-destdir.patch
new file mode 100644
index 000000000..ba301b332
--- /dev/null
+++ b/extra/stardict/help-in-destdir.patch
@@ -0,0 +1,21 @@
+diff -aur old/help/Makefile.am new/help/Makefile.am
+--- old/help/Makefile.am 2011-01-03 17:14:20.000000000 +0100
++++ new/help/Makefile.am 2011-01-13 21:42:06.046672489 +0100
+@@ -104,7 +104,7 @@
+ else
+ stardict-install-html:
+ for lc in $(STARDICT_ALL_LINGUAS); do \
+- install_dir=$(STARDICT_HTML_INSTALL_DIR)/$${lc}; \
++ install_dir=$(DESTDIR)$(STARDICT_HTML_INSTALL_DIR)/$${lc}; \
+ htmldir=$(srcdir)/$${lc}/html; \
+ for file in `find $${htmldir} -type f -print`; do \
+ relfile=$${file#$${htmldir}/}; \
+@@ -126,7 +126,7 @@
+ else
+ stardict-uninstall-html:
+ for lc in $(STARDICT_ALL_LINGUAS); do \
+- install_dir=$(STARDICT_HTML_INSTALL_DIR)/$${lc}; \
++ install_dir=$(DESTDIR)$(STARDICT_HTML_INSTALL_DIR)/$${lc}; \
+ rm -rf $${install_dir}; \
+ done;
+ endif