Skip to content

Commit facfebf

Browse files
committed
Various fixes to improve doc building.
1 parent 108e37e commit facfebf

4 files changed

Lines changed: 22 additions & 9 deletions

File tree

doc/ps/Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# Make postscript documentation for Python Xlib
22
#
3-
# $Id: Makefile,v 1.1 2000-09-22 11:37:51 petli Exp $
3+
# $Id: Makefile,v 1.2 2001-11-30 10:38:06 petli Exp $
44

55
include ../src/defs
66

7-
python-xlib.ps: $(SRCS)
8-
texi2dvi -b $(TOPSRC)
7+
python-xlib.ps: python-xlib.dvi
98
dvips -o python-xlib.ps python-xlib.dvi
109

10+
python-xlib.dvi: $(SRCS)
11+
cp python-xlib.aux python-xlib.auxtmp
12+
texi2dvi -b $(TOPSRC)
13+
# If xref has changed, rebuild again to catch them
14+
cmp python-xlib.aux python-xlib.auxtmp || texi2dvi -b $(TOPSRC)
15+
1116
clean:
1217
rm -f python-xlib.*

doc/src/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,14 @@
33
info:
44
(cd ..; make info)
55

6+
ps:
7+
(cd ..; make ps)
8+
9+
html:
10+
(cd ..; make html)
11+
12+
all:
13+
(cd ..; make all)
14+
615
clean:
716
(cd ..; make clean)

doc/src/defs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# Definitions for documentation makefiles
22
#
3-
# $Id: defs,v 1.1 2000-09-22 11:37:51 petli Exp $
3+
# $Id: defs,v 1.2 2001-11-30 10:38:06 petli Exp $
44

55
SRCDIR = ../src
66

77
TOPSRC = $(SRCDIR)/python-xlib.texi
88

99
SRCS = $(TOPSRC) \
1010
$(SRCDIR)/concepts.texi $(SRCDIR)/package.texi \
11-
$(SRCDIR)/connect.texi $(SRCDIR)/errors.texi $(SRCDIR)/events.texi
11+
$(SRCDIR)/connect.texi $(SRCDIR)/errors.texi \
12+
$(SRCDIR)/events.texi $(SRCDIR)/objects.texi
1213

1314

doc/src/objects.texi

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,7 @@ Card16('height'),
465465

466466
@code{Window} objects have additional objects, see @ref{Resource} and @ref{Drawable}.
467467

468-
@defmethod Window create_window ( x, y, width, height, border_width, depth, window_class = X.CopyFromParent,
469-
visual = X.CopyFromParent,
470-
**keys )
468+
@defmethod Window create_window ( x, y, width, height, border_width, depth, window_class = X.CopyFromParent, visual = X.CopyFromParent, **keys )
471469
Returns Window
472470
@end defmethod
473471

@@ -821,6 +819,6 @@ Int32('overall_right'),
821819
@defmethod Font close ( onerror = None )
822820
@end defmethod
823821

824-
@defmethod Font create_glyph_cursor ( mask, source_char, mask_char, (fore_red, fore_green, fore_blue), (back_red, back_green, back_blue) )
822+
@defmethod Font create_glyph_cursor ( mask, source_char, mask_char, (fore_red, fore_green, fore_blue), (back_red, back_green, back_blue) )
825823
Returns Cursor.
826824
@end defmethod

0 commit comments

Comments
 (0)