File: info-doc-build.dpatch

package info (click to toggle)
python2.3 2.3.5-3sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,908 kB
  • ctags: 81,384
  • sloc: ansic: 266,250; python: 246,028; makefile: 4,194; perl: 3,702; lisp: 3,630; sh: 2,576; xml: 1,601; objc: 740; cpp: 106; sed: 2
file content (37 lines) | stat: -rw-r--r-- 977 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#! /bin/sh -e

# DP: Updates to build the docs in info format

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
        #cd ${dir}gcc && autoconf
        ;;
    -unpatch)
        patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
        #rm ${dir}gcc/configure
        ;;
    *)
	echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
        exit 1
esac
exit 0

--- Doc/tools/py2texi.el~	2002-11-14 22:29:44.000000000 +0100
+++ Doc/tools/py2texi.el	2003-05-12 20:38:08.000000000 +0200
@@ -200,6 +201,7 @@
     ("authoraddress" 1
      (progn (setq author-address (match-string 1 string)) ""))
     ("b" 1 "@w{\\1}")
+    ("backslash" 0 "@backslash{}")
     ("bf" 0 "@destroy")
     ("bifuncindex" 1 (progn (setq findex t) "@findex{\\1}"))
     ("C" 0 "C")