summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <roche@httrack.com>2015-03-20 15:22:21 +0100
committerXavier Roche <roche@httrack.com>2015-03-22 11:46:32 +0100
commit6316a0bbba489053da99f516d3b99ca37a967b4b (patch)
tree770c67cf89189463be7904e754a1389471017def
parent6e2167c1a128f2d9c1e25c4b2e8187f064006d72 (diff)
Fixed broken symlink with changed --docdir (rahrah) (closes #65)
-rwxr-xr-xhtml/Makefile.am2
-rw-r--r--html/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/html/Makefile.am b/html/Makefile.am
index e517643..aa6a741 100755
--- a/html/Makefile.am
+++ b/html/Makefile.am
@@ -39,6 +39,6 @@ EXTRA_DIST = $(HelpHtml_DATA) $(HelpHtmlimg_DATA) $(HelpHtmlimages_DATA) \
install-data-hook:
if test ! -L $(DESTDIR)$(prefix)/share/httrack/html ; then \
( cd $(DESTDIR)$(prefix)/share/httrack \
- && $(LN_S) ../doc/httrack html \
+ && $(LN_S) $(htmldir) html \
) \
fi
diff --git a/html/Makefile.in b/html/Makefile.in
index 658ef80..5a64095 100644
--- a/html/Makefile.in
+++ b/html/Makefile.in
@@ -774,7 +774,7 @@ uninstall-am: uninstall-HelpHtmlDATA uninstall-HelpHtmlTxtDATA \
install-data-hook:
if test ! -L $(DESTDIR)$(prefix)/share/httrack/html ; then \
( cd $(DESTDIR)$(prefix)/share/httrack \
- && $(LN_S) ../doc/httrack html \
+ && $(LN_S) $(htmldir) html \
) \
fi