diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-09-29 13:40:02 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-09-29 13:40:02 +0300 |
commit | 424a50000a78fff715de4417dba9b4498aeeee4c (patch) | |
tree | d27f003c7d140fef24efd1b2ca1325ae099154b9 /debian/patches/doc-faq.dpatch | |
download | python3.5-debian.tar.gz |
Imported python3.5 3.5.4-4debian/3.5.4-4debian
Diffstat (limited to 'debian/patches/doc-faq.dpatch')
-rw-r--r-- | debian/patches/doc-faq.dpatch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/debian/patches/doc-faq.dpatch b/debian/patches/doc-faq.dpatch new file mode 100644 index 0000000..cf896e3 --- /dev/null +++ b/debian/patches/doc-faq.dpatch @@ -0,0 +1,52 @@ +#! /bin/sh -e + +# DP: Mention the FAQ on the documentation index page. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]" + exit 1 +esac +exit 0 + +--- Doc/html/index.html.in~ 2002-04-01 18:11:27.000000000 +0200 ++++ Doc/html/index.html.in 2003-04-05 13:33:35.000000000 +0200 +@@ -123,6 +123,24 @@ + </ul> + </td> + </tr> ++ <tr> ++ <td valign="baseline" class="left-column"> ++ ++ <ul> ++ <li> <a href="../../python/FAQ.html" class="title" ++ >FAQ (local copy)</a> ++ <br>(python package must be installed) ++ </ul> ++ </td> ++ <td valign="baseline" class="right-column"> ++ ++ <ul> ++ <li> <a href="http://www.python.org/cgi-bin/faqw.py" class="title" ++ >FAQ (online wizard)</a> ++ <br>(maybe more recent) ++ </ul> ++ </td> ++ </tr> + </tbody> + </table> + <p> |