summaryrefslogtreecommitdiff
path: root/extra/stardict/help-in-destdir.patch
blob: ba301b332a76a6e8d16bb94da7234ca246cb650a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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