Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
78104a9b
Commit
78104a9b
authored
Jan 08, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace most everything but the comment at the top.
parent
c4e92630
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
24 deletions
+66
-24
Doc/info/Makefile
Doc/info/Makefile
+66
-24
No files found.
Doc/info/Makefile
View file @
78104a9b
# Generate the Python "info" documentation.
# These is only used for .info generation:
EMACS
=
emacs
MAKEINFO
=
makeinfo
P
YTHON
=
python
PARTPARSE
=
$(PYTHON)
../tools/partparse.py
PAPER
=
letter
TOPDIR
=
..
TOOLSDIR
=
$(TOPDIR)
/tools
P
APERDIR
=
$(TOPDIR)
/paper-
$(PAPER)
HTMLDIR
=
$(TOPDIR)
/html
MKINFO
=
$(TOOLSDIR)
/mkinfo
SCRIPTS
=
$(TOOLSDIR)
/html2texi.pl
$(TOOLSDIR)
/checkargs.pm
$(TOOLSDIR)
/mkinfo
all
:
python-lib.info
all
:
python-api.info python-ext.info python-lib.info
\
python-mac.info python-ref.info python-tut.info
.PRECIOUS
:
python-lib.texi
python-api.info
:
$(HTMLDIR)/api/api.html $(SCRIPTS)
$(MKINFO)
$<
# The sed script in this target fixes a really nasty little condition in
# libcgi.tex where \e has to be used in a group to get the right behavior,
# and makeinfo can't handle a group without a leading @command. But at
# least the info file gets generated.
python-ext.info
:
$(HTMLDIR)/ext/ext.html $(SCRIPTS)
$(MKINFO)
$<
lib1.texi
:
$(LIBFILES) texipre.dat texipost.dat ../tools/partparse.py
$(PARTPARSE)
-o
$@
`
../tools/whichlibs
`
sed
's/"{\\}n{\\}n/"\\n\\n/'
$@
>
temp.texi
mv
temp.texi
$@
python-lib.info
:
$(HTMLDIR)/lib/lib.html $(SCRIPTS)
$(MKINFO)
$<
python-lib.texi
:
lib1.texi ../tools/fix.el
cp
lib1.texi temp.texi
$(EMACS)
-batch
-l
../tools/fix.el
-f
save-buffer
-kill
mv
temp.texi
$@
python-mac.info
:
$(HTMLDIR)/mac/mac.html $(SCRIPTS)
$(MKINFO)
$<
python-ref.info
:
$(HTMLDIR)/ref/ref.html $(SCRIPTS)
$(MKINFO)
$<
python-tut.info
:
$(HTMLDIR)/tut/tut.html $(SCRIPTS)
$(MKINFO)
$<
python-lib.info
:
python-lib.texi
$(MAKEINFO)
--footnote-style
end
--fill-column
72
\
--paragraph-indent
0
$<
clean
:
rm
-f
*
~
*
.texi
rm
-f
*
.texi
~
*
.texi
clobber
:
clean
rm
-f
*
.texi python-???.info python-???.info-[0-9]
*
rm
-f
*
.texi python-
*
.info python-
*
.info-[0-9]
*
# The HTML files are dependent on the .aux files, which are dependent on the
# LaTeX source documents. This makes sure we can build info files from a
# "clean" tree:
$(HTMLDIR)/api/api.html
:
$(PAPERDIR)/api.aux $(BUILDINDEX)
(
cd
$(TOPDIR)
;
$(MAKE)
htmlapi
)
$(HTMLDIR)/ext/ext.html
:
$(PAPERDIR)/ext.aux
(
cd
$(TOPDIR)
;
$(MAKE)
htmlext
)
$(HTMLDIR)/lib/lib.html
:
$(PAPERDIR)/lib.aux $(BUILDINDEX)
(
cd
$(TOPDIR)
;
$(MAKE)
htmllib
)
$(HTMLDIR)/mac/mac.html
:
$(MACFILES) $(BUILDINDEX)
(
cd
$(TOPDIR)
;
$(MAKE)
htmlmac
)
$(HTMLDIR)/ref/ref.html
:
$(PAPERDIR)/ref.aux $(BUILDINDEX)
(
cd
$(TOPDIR)
;
$(MAKE)
htmlref
)
$(HTMLDIR)/tut/tut.html
:
$(PAPERDIR)/tut.aux
(
cd
$(TOPDIR)
;
$(MAKE)
htmltut
)
include
../Makefile.deps
$(PAPERDIR)/api.aux
:
$(APIFILES)
(
cd
$(PAPERDIR)
;
$(MAKE)
PAPER
=
$(PAPER)
api.dvi
)
$(PAPERDIR)/ext.aux
:
$(EXTFILES)
(
cd
$(PAPERDIR)
;
$(MAKE)
PAPER
=
$(PAPER)
ext.dvi
)
$(PAPERDIR)/lib.aux
:
$(LIBFILES)
(
cd
$(PAPERDIR)
;
$(MAKE)
PAPER
=
$(PAPER)
lib.dvi
)
$(PAPERDIR)/ref.aux
:
$(REFFILES)
(
cd
$(PAPERDIR)
;
$(MAKE)
PAPER
=
$(PAPER)
ref.dvi
)
$(PAPERDIR)/tut.aux
:
$(TUTFILES)
(
cd
$(PAPERDIR)
;
$(MAKE)
PAPER
=
$(PAPER)
tut.dvi
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment