File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Generate the Python "info" documentation.
2
+
3
+ # These is only used for .info generation:
4
+ EMACS = emacs
5
+ MAKEINFO = makeinfo
6
+ PYTHON = python
7
+ PARTPARSE = $(PYTHON ) ../tools/partparse.py
8
+
9
+
10
+ all : python-lib.info
11
+
12
+
13
+ .PRECIOUS : python-lib.texi
14
+
15
+ # The sed script in this target fixes a really nasty little condition in
16
+ # libcgi.tex where \e has to be used in a group to get the right behavior,
17
+ # and makeinfo can't handle a group without a leading @command. But at
18
+ # least the info file gets generated.
19
+
20
+ lib1.texi : $(LIBFILES ) texipre.dat texipost.dat ../tools/partparse.py
21
+ $(PARTPARSE ) -o $@ ` ../tools/whichlibs`
22
+ sed ' s/"{\\}n{\\}n/"\\n\\n/' $@ > temp.texi
23
+ mv temp.texi $@
24
+
25
+ python-lib.texi : lib1.texi ../tools/fix.el
26
+ cp lib1.texi temp.texi
27
+ $(EMACS ) -batch -l ../tools/fix.el -f save-buffer -kill
28
+ mv temp.texi $@
29
+
30
+ python-lib.info : python-lib.texi
31
+ $(MAKEINFO ) --footnote-style end --fill-column 72 \
32
+ --paragraph-indent 0 $<
You can’t perform that action at this time.
0 commit comments