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
78523bda
Commit
78523bda
authored
Dec 06, 1996
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Makefile): Rip out old partparse.py / texi2html.py stuff -- use latex2html
instead! Updated some comments.
parent
d365bb83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
35 deletions
+7
-35
Doc/Makefile
Doc/Makefile
+7
-35
No files found.
Doc/Makefile
View file @
78523bda
...
...
@@ -43,10 +43,7 @@
# Additional targets attempt to convert selected LaTeX sources to
# various other formats. These are generally site specific because
# the tools used are all but universal. These targets are:
# l2h -- convert tut, ref, ext (but not lib!) from LaTeX to HTML
# lib.texi -- convert lib from LaTeX to Texinfo
# lib.info -- convert lib from Texinfo to Emacs INFO
# libwww -- convert lib from Texinfo to HTML
# l2h -- convert tut, lib, ext from LaTeX to HTML
# See the README file for more info on these targets.
# Customizations -- you *may* have to edit these
...
...
@@ -54,20 +51,11 @@
# Where are the various programs?
LATEX
=
latex
BIBTEX
=
bibtex
EMACS
=
emacs
DVIPS
=
dvips
-f
MAKEINDEX
=
makeindex
PYTHON
=
python
MAKEINFO
=
makeinfo
L2H
=
latex2html
L2HARGS
=
-address
$$
USER@
`
domainname
`
# Destination directory for output of libwww target.
PARTPARSE
=
$(PYTHON)
./partparse.pyc
TEXI2HTMLFLAGS
=
-d
TEXI2HTML
=
$(PYTHON)
./texi2html.pyc
LIBHTMLDIR
=
./python-lib
# Install destination -- not used now but might be useful some time...
DESTDIR
=
/usr/local
LIBDESTDIR
=
$DESTDIR
/lib
...
...
@@ -162,28 +150,6 @@ qua.ps: qua.dvi
# The remaining part of the Makefile is concerned with various
# conversions, as described above. See also the README file.
.SUFFIXES
:
.py .pyc
.py.pyc
:
$(PYTHON)
-c
"import
$*
"
.PRECIOUS
:
lib.texi
lib.texi
:
lib*.tex texipre.dat texipost.dat partparse.pyc fix.el
$(PARTPARSE)
-o
@lib.texi
`
./whichlibs
`
$(EMACS)
-batch
-l
fix.el
-f
save-buffer
-kill
mv
@lib.texi lib.texi
python-lib.info
:
lib.texi
-
$(MAKEINFO)
--footnote-style
end
--fill-column
72
\
--paragraph-indent
0 lib.texi
lib.info
:
python-lib.info
libwww
:
lib.texi texi2html.pyc
if
test
!
-d
$(LIBHTMLDIR)
;
then
mkdir
$(LIBHTMLDIR)
;
else
true
;
fi
$(TEXI2HTML)
$(TEXI2HTMLFLAGS)
lib.texi
$(LIBHTMLDIR)
# Targets to convert the manuals to HTML using Nikos Drakos' LaTeX to
# HTML converter. For more info on this program, see
# <URL:http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html>.
...
...
@@ -207,10 +173,16 @@ l2hext: ext.dvi myformat.perl
@
rm
-rf
python-ext
mv
ext python-ext
# The sed hack rips out a superfluous comma which I haven't found the source
# of; the prominent location makes it worth the extra step. This affects the
# title page!
l2hlib
:
lib.dvi myformat.perl
./fix_libaux.sed <lib.aux
>
@lib.aux
mv
@lib.aux lib.aux
$(L2H)
$(L2HARGS)
lib.tex
sed
's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/'
\
<lib/lib.html
>
lib/xxx
mv
lib/xxx lib/lib.html
@
rm
-rf
python-lib
mv
lib python-lib
...
...
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