From da4c853955b6d09fb10ce9d36c1b6340c5c078c0 Mon Sep 17 00:00:00 2001 From: calvin Date: Fri, 19 Nov 2004 21:06:58 +0000 Subject: [PATCH] added documentation link to programs group git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2025 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- ChangeLog | 4 +++- install-linkchecker.py | 11 ++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 12f25687..77bb5d65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,7 +23,9 @@ linkcheck/ftests/data/*.result * Added missing script_dir to the windows installer script. - Use python.exe instead of pythonw.exe to call linkcheck script. + Use python.exe instead of pythonw.exe and --interactive option to + call linkcheck script. + Add Documentation link to the programs group. Type: bugfix Changed: install-linkchecker.py diff --git a/install-linkchecker.py b/install-linkchecker.py index 4800829e..6a640f46 100644 --- a/install-linkchecker.py +++ b/install-linkchecker.py @@ -56,11 +56,12 @@ def do_install (): create_shortcut(python_exe, "Check URL", path, arguments) file_created(path) - #target = os.path.join(lib_dir, - # "PythonCard\\docs\\html\\index.html") - #path = os.path.join(dest_dir, "Documentation.lnk") - #create_shortcut(target, "Documentation", path) - #file_created(path) + data_dir = linkcheck.configdata.install_data + target = os.path.join(data_dir, + "share", "linkchecker", "doc", "documentation.html") + path = os.path.join(dest_dir, "Documentation.lnk") + create_shortcut(target, "Documentation", path) + file_created(path) target = os.path.join(sys.prefix, "RemoveLinkChecker.exe") path = os.path.join(dest_dir, "Uninstall LinkChecker.lnk")