diff --git a/doc/Makefile b/doc/Makefile index 04c2cb99..4c4cef31 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -11,13 +11,16 @@ po4a: man: $(MANFILES) -$(HTMLDIR)/man1/linkchecker.1.html: en/linkchecker.1 - man2html -r $< | tail -n +2 > $@ +$(HTMLDIR)/man1/linkchecker.1.html: en/linkchecker.1 linkchecker.1.html.diff + man2html -r $< | tail -n +2 | sed 's/Time:.*//g' > $@ + patch --no-backup-if-mismatch --quiet $@ linkchecker.1.html.diff -$(HTMLDIR)/man5/linkcheckerrc.5.html: en/linkcheckerrc.5 - man2html -r $< | tail -n +2 > $@ +$(HTMLDIR)/man5/linkcheckerrc.5.html: en/linkcheckerrc.5 linkcheckerrc.5.html.diff + man2html -r $< | tail -n +2 | sed 's/Time:.*//g' > $@ + patch --no-backup-if-mismatch --quiet $@ linkcheckerrc.5.html.diff -$(HTMLDIR)/man1/linkchecker-gui.1.html: en/linkchecker-gui.1 - man2html -r $< | tail -n +2 > $@ +$(HTMLDIR)/man1/linkchecker-gui.1.html: en/linkchecker-gui.1 linkchecker-gui.1.html.diff + man2html -r $< | tail -n +2 | sed 's/Time:.*//g' > $@ + patch --no-backup-if-mismatch --quiet $@ linkchecker-gui.1.html.diff .PHONY: po4a man diff --git a/doc/linkchecker-gui.1.html.diff b/doc/linkchecker-gui.1.html.diff new file mode 100644 index 00000000..4c37e665 --- /dev/null +++ b/doc/linkchecker-gui.1.html.diff @@ -0,0 +1,11 @@ +--- linkchecker-gui.1.html.orig 2011-06-14 21:22:16.160383430 +0200 ++++ linkchecker-gui.1.html 2011-06-14 21:22:23.120641725 +0200 +@@ -45,7 +45,7 @@ + +
+ This document was created by +-man2html, ++man2html, + using the manual pages.
+ + diff --git a/doc/linkchecker.1.html.diff b/doc/linkchecker.1.html.diff new file mode 100644 index 00000000..73215803 --- /dev/null +++ b/doc/linkchecker.1.html.diff @@ -0,0 +1,80 @@ +--- linkchecker.1.html.orig 2011-06-14 21:14:55.016011206 +0200 ++++ linkchecker.1.html 2011-06-14 21:17:07.108913849 +0200 +@@ -38,7 +38,7 @@ + + The most common use checks the given domain recursively, plus any + URL pointing outside of the domain: +-
  linkchecker http://www.example.net/ ++
  linkchecker http://www.example.net/ +
+ + Beware that this checks the whole site which can have thousands of URLs. +@@ -59,15 +59,15 @@ +
+ + You can skip the http:// url part if the domain starts with www.: +-
  linkchecker www.example.com ++
  linkchecker www.example.com +
+ + You can skip the ftp:// url part if the domain starts with ftp.: +-
  linkchecker -r0 ftp.example.org ++
  linkchecker -r0 ftp.example.org +
+ + Generate a sitemap graph and convert it with the graphviz dot utility: +-
  linkchecker -odot -v www.example.com | dot -Tps > sitemap.ps ++
  linkchecker -odot -v www.example.com | dot -Tps > sitemap.ps +   +

OPTIONS

+ +@@ -302,8 +302,8 @@ + + Multiple entries are separated by a blank line. + The example below will send two cookies to all URLs starting with +-http://example.com/hello/ and one to all URLs starting +-with https://example.org/: ++http://example.com/hello/ and one to all URLs starting ++with https://example.org/: +

+
 Host: example.com +
 Path: /hello +@@ -326,15 +326,15 @@ + variables to ignore any proxy settings for these domains. + Setting a HTTP proxy on Unix for example looks like this: +

+-
  export http_proxy="http://proxy.example.com:8080" ++
  export http_proxy="http://proxy.example.com:8080" +

+ Proxy authentication is also supported: +

+-
  export http_proxy="http://user1:mypass@proxy.example.org:8081" ++
  export http_proxy="http://user1:mypass@proxy.example.org:8081" +

+ Setting a proxy on the Windows command prompt: +

+-
  set http_proxy=http://proxy.example.com:8080 ++
  set http_proxy=http://proxy.example.com:8080 +

+   +

PERFORMED CHECKS

+@@ -470,8 +470,8 @@ +

NOTES

+ + URLs on the commandline starting with ftp. are treated like +-ftp://ftp., URLs starting with www. are treated like +-http://www.. ++ftp://ftp., URLs starting with www. are treated like ++http://www.. + You can also give local files as arguments. +

+ If you have your system configured to automatically establish a +@@ -584,7 +584,7 @@ + +


+ This document was created by +-man2html, ++man2html, + using the manual pages.
+ + diff --git a/doc/linkcheckerrc.5.html.diff b/doc/linkcheckerrc.5.html.diff new file mode 100644 index 00000000..fb319da1 --- /dev/null +++ b/doc/linkcheckerrc.5.html.diff @@ -0,0 +1,11 @@ +--- linkcheckerrc.5.html.orig 2011-06-15 06:38:09.830998286 +0200 ++++ linkcheckerrc.5.html 2011-06-15 06:38:18.327310373 +0200 +@@ -487,7 +487,7 @@ + +
+ This document was created by +-man2html, ++man2html, + using the manual pages.
+ +