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
b0285b24
Commit
b0285b24
authored
May 07, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More changes to support the new directory structure.
parent
d642dbd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
34 deletions
+50
-34
Doc/Makefile
Doc/Makefile
+50
-34
No files found.
Doc/Makefile
View file @
b0285b24
...
@@ -48,13 +48,12 @@
...
@@ -48,13 +48,12 @@
# Where are the various programs?
# Where are the various programs?
LATEX
=
TEXINPUTS
=
$(TEXINPUTS)
latex
LATEX
=
TEXINPUTS
=
$(TEXINPUTS)
latex
PDFLATEX
=
TEXINPUTS
=
$(TEXINPUTS)
pdflatex
PDFLATEX
=
TEXINPUTS
=
$(TEXINPUTS)
pdflatex
TEXINPUTS
=
.:
$(srcdir)
:
$(srcdir)
/texinputs:
DVIPS
=
dvips
-N0
DVIPS
=
dvips
-N0
DISTILL
=
distill
DISTILL
=
distill
KPSEWHICH
=
TEXINPUTS
=
$(TEXINPUTS)
kpsewhich
KPSEWHICH
=
TEXINPUTS
=
$(TEXINPUTS)
kpsewhich
MAKEINDEX
=
makeindex
-s
$(srcdir)
/texinputs/myindex.ist
MAKEINDEX
=
makeindex
-s
$(srcdir)
/texinputs/myindex.ist
L2H
=
TEXINPUTS
=
$(TEXINPUTS)
latex2html
-init_file
$(L2HINIT)
L2H
=
TEXINPUTS
=
$(TEXINPUTS)
latex2html
-init_file
$(L2HINIT)
L2HOUTPUTBASE
=
.
L2HOUTPUTBASE
=
html
L2HARGS
=
L2HARGS
=
L2HINIT
=
$(srcdir)
/perl/l2hinit.perl
L2HINIT
=
$(srcdir)
/perl/l2hinit.perl
WEBCHECKER
=
$(PYTHON)
$(srcdir)
/../Tools/webchecker/webchecker.py
WEBCHECKER
=
$(PYTHON)
$(srcdir)
/../Tools/webchecker/webchecker.py
...
@@ -65,7 +64,7 @@ LIBDESTDIR= $DESTDIR/lib
...
@@ -65,7 +64,7 @@ LIBDESTDIR= $DESTDIR/lib
LIBDEST
=
$LIBDESTDIR
/python
$(VERSION)
LIBDEST
=
$LIBDESTDIR
/python
$(VERSION)
DOCDESTDIR
=
$LIBDEST
/doc
DOCDESTDIR
=
$LIBDEST
/doc
# Th
is
is only used for .info generation:
# Th
ese
is only used for .info generation:
EMACS
=
emacs
EMACS
=
emacs
PYTHON
=
python
PYTHON
=
python
MAKEINFO
=
makeinfo
MAKEINFO
=
makeinfo
...
@@ -87,6 +86,11 @@ PSFILES= api.ps ext.ps lib.ps ref.ps tut.ps
...
@@ -87,6 +86,11 @@ PSFILES= api.ps ext.ps lib.ps ref.ps tut.ps
MANSTYLES
=
$(srcdir)
/texinputs/fncychap.sty
$(srcdir)
/texinputs/manual.cls
\
MANSTYLES
=
$(srcdir)
/texinputs/fncychap.sty
$(srcdir)
/texinputs/manual.cls
\
$(srcdir)
/texinputs/python.sty
$(srcdir)
/texinputs/myindex.ist
$(srcdir)
/texinputs/python.sty
$(srcdir)
/texinputs/myindex.ist
# Be careful when messing with this one!
TEXINPUTS
=
.:
$(srcdir)
/texinputs:
MKDVI
=
TEXINPUTS
=
$(TEXINPUTS)
$(srcdir)
/tools/mkdvi.sh
# Main target
# Main target
all
:
all-ps
all
:
all-ps
...
@@ -139,10 +143,10 @@ $(PDFFILES): $(srcdir)/tools/toc2bkm.py
...
@@ -139,10 +143,10 @@ $(PDFFILES): $(srcdir)/tools/toc2bkm.py
$(PDFLATEX)
$*
$(PDFLATEX)
$*
# Dependencies
# Dependencies
COMMONTEX
=
$(MANSTYLES)
copyright.tex
boilerplate.tex
COMMONTEX
=
$(MANSTYLES)
texinputs/copyright.tex texinputs/
boilerplate.tex
COMMONPERL
=
perl/manual.perl perl/python.perl
COMMONPERL
=
perl/manual.perl perl/python.perl
$(DVIFILES)
:
tools/fix_hack $(COMMONTEX)
$(DVIFILES)
:
tools/fix_hack
tools/mkdvi.sh
$(COMMONTEX)
ref.dvi
:
ref1.tex ref2.tex ref3.tex ref4.tex
\
ref.dvi
:
ref1.tex ref2.tex ref3.tex ref4.tex
\
ref5.tex ref6.tex ref7.tex ref8.tex
ref5.tex ref6.tex ref7.tex ref8.tex
...
@@ -184,7 +188,7 @@ MACLIBFILES = mac.tex libmac.tex libctb.tex libmacconsole.tex \
...
@@ -184,7 +188,7 @@ MACLIBFILES = mac.tex libmac.tex libctb.tex libmacconsole.tex \
libmacdnr.tex libmacfs.tex libmacos.tex libmacostools.tex
\
libmacdnr.tex libmacfs.tex libmacos.tex libmacostools.tex
\
libmactcp.tex libmacspeech.tex libmacui.tex libmacic.tex
libmactcp.tex libmacspeech.tex libmacui.tex libmacic.tex
#
Library document
#
Python Library Reference
lib.dvi
:
tools/indfix.py $(LIBFILES)
lib.dvi
:
tools/indfix.py $(LIBFILES)
$(srcdir)
/tools/newind.py
>
$*
.ind
$(srcdir)
/tools/newind.py
>
$*
.ind
$(srcdir)
/tools/newind.py modindex
>
mod
$*
.ind
$(srcdir)
/tools/newind.py modindex
>
mod
$*
.ind
...
@@ -195,19 +199,21 @@ lib.dvi: tools/indfix.py $(LIBFILES)
...
@@ -195,19 +199,21 @@ lib.dvi: tools/indfix.py $(LIBFILES)
$(srcdir)
/tools/indfix.py
$*
.ind
$(srcdir)
/tools/indfix.py
$*
.ind
$(LATEX)
$*
$(LATEX)
$*
# Tutorial document
# Python/C API Reference Manual
tut.dvi
:
tut.tex
api.dvi
:
api/api.tex
$(LATEX)
$*
$(MKDVI)
api
$(LATEX)
$*
# Extending & Embedding, Python/C API documents.
# Extending and Embedding the Python Interpreter
# Done this way to avoid repeated command sets.
ext.dvi
:
ext/ext.tex
.tex.dvi
:
$(MKDVI)
ext
$(srcdir)
/tools/newind.py
>
$*
.ind
$(LATEX)
$*
# Python Reference Manual
$(srcdir)
/tools/fix_hack
$*
.idx
ref.dvi
:
ref/ref.tex
$(MAKEINDEX)
$*
.idx
$(MKDVI)
ref
$(LATEX)
$*
# Python Tutorial
tut.dvi
:
tut/tut.tex
$(MKDVI)
tut
# The remaining part of the Makefile is concerned with various
# The remaining part of the Makefile is concerned with various
...
@@ -253,38 +259,46 @@ lib.texi: python-lib.texi
...
@@ -253,38 +259,46 @@ lib.texi: python-lib.texi
# a (trivial) index.html. Change the definition of $ICONSERVER in
# a (trivial) index.html. Change the definition of $ICONSERVER in
# perl/l2hinit.perl to use a different location for the icons directory.
# perl/l2hinit.perl to use a different location for the icons directory.
$(L2HOUTPUTBASE)
:
mkdir
$(L2HOUTPUTBASE)
l2h
:
l2hapi l2hext l2hlib l2href l2htut
l2h
:
l2hapi l2hext l2hlib l2href l2htut
l2hapi
:
$(COMMONPERL)
l2hapi
:
$(COMMONPERL)
$(L2HOUTPUTBASE)
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/api api.tex
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/api api.tex
(
cd
$(L2HOUTPUTBASE)
/api
;
../tools/node2label.pl
*
.html
)
(
MYDIR
=
`
pwd
`
;
cd
$(L2HOUTPUTBASE)
/api
;
\
$$
MYDIR/tools/node2label.pl
*
.html
)
l2hext
:
$(COMMONPERL)
l2hext
:
$(COMMONPERL)
$(L2HOUTPUTBASE)
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/ext ext.tex
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/ext ext.tex
(
cd
$(L2HOUTPUTBASE)
/ext
;
../tools/node2label.pl
*
.html
)
(
MYDIR
=
`
pwd
`
;
cd
$(L2HOUTPUTBASE)
/ext
;
\
$$
MYDIR/tools/node2label.pl
*
.html
)
l2hlib
:
$(COMMONPERL)
l2hlib
:
$(COMMONPERL)
$(L2HOUTPUTBASE)
$(srcdir)
/tools/fix_libaux.sed <
`
$(KPSEWHICH)
lib.aux
`
>
lib1.aux
$(srcdir)
/tools/fix_libaux.sed <
`
$(KPSEWHICH)
lib.aux
`
>
lib1.aux
mv
lib1.aux
`
$(KPSEWHICH)
lib.aux
`
mv
lib1.aux
`
$(KPSEWHICH)
lib.aux
`
if
test
-d
lib
;
then
rm
-f
lib/
*
.html
;
fi
if
test
-d
lib
;
then
rm
-f
lib/
*
.html
;
fi
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/lib lib.tex
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/lib lib.tex
(
cd
$(L2HOUTPUTBASE)
/lib
;
../tools/node2label.pl
*
.html
)
(
MYDIR
=
`
pwd
`
;
cd
$(L2HOUTPUTBASE)
/lib
;
\
$$
MYDIR/tools/node2label.pl
*
.html
)
l2href
:
$(COMMONPERL)
l2href
:
$(COMMONPERL)
$(L2HOUTPUTBASE)
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/ref ref.tex
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/ref ref.tex
(
cd
$(L2HOUTPUTBASE)
/ref
;
../tools/node2label.pl
*
.html
)
(
MYDIR
=
`
pwd
`
;
cd
$(L2HOUTPUTBASE)
/ref
;
\
$$
MYDIR/tools/node2label.pl
*
.html
)
l2htut
:
$(COMMONPERL)
l2htut
:
$(COMMONPERL)
$(L2HOUTPUTBASE)
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/tut tut.tex
$(L2H)
$(L2HARGS)
-dir
$(L2HOUTPUTBASE)
/tut tut.tex
(
cd
$(L2HOUTPUTBASE)
/tut
;
../tools/node2label.pl
*
.html
)
(
MYDIR
=
`
pwd
`
;
cd
$(L2HOUTPUTBASE)
/tut
;
\
$$
MYDIR/tools/node2label.pl
*
.html
)
# webchecker needs an extra flag to process the huge index from the libref
# webchecker needs an extra flag to process the huge index from the libref
webcheck
:
webcheck
:
$(WEBCHECKER)
file:
`
pwd
`
/api/
$(WEBCHECKER)
file:
`
pwd
`
/
$(L2HOUTPUTBASE)
/
api/
$(WEBCHECKER)
file:
`
pwd
`
/ext/
$(WEBCHECKER)
file:
`
pwd
`
/
$(L2HOUTPUTBASE)
/
ext/
$(WEBCHECKER)
-m290000
file:
`
pwd
`
/lib/
$(WEBCHECKER)
-m290000
file:
`
pwd
`
/
$(L2HOUTPUTBASE)
/
lib/
$(WEBCHECKER)
file:
`
pwd
`
/ref/
$(WEBCHECKER)
file:
`
pwd
`
/
$(L2HOUTPUTBASE)
/
ref/
$(WEBCHECKER)
file:
`
pwd
`
/tut/
$(WEBCHECKER)
file:
`
pwd
`
/
$(L2HOUTPUTBASE)
/
tut/
lib-info-$(RELEASE).tar.gz
:
$(INFOFILES)
lib-info-$(RELEASE).tar.gz
:
$(INFOFILES)
tar
cf - python-???.info
*
|
gzip
-9
>
$@
tar
cf - python-???.info
*
|
gzip
-9
>
$@
...
@@ -304,13 +318,15 @@ postscript-$(RELEASE).tar.gz: $(PSFILES) ref/ref.ps
...
@@ -304,13 +318,15 @@ postscript-$(RELEASE).tar.gz: $(PSFILES) ref/ref.ps
tar
cf - ???.ps |
gzip
-9
>
$@
tar
cf - ???.ps |
gzip
-9
>
$@
rm
ref.ps
rm
ref.ps
tarhtml
:
html-$(RELEASE).tar.gz
:
tar
cf - index.html icons/
\
tar
cf - index.html icons/
\
-C
$(L2HOUTPUTBASE)
???/???.css ???/
*
.html
*
/
*
.gif
\
-C
$(L2HOUTPUTBASE)
???/???.css ???/
*
.html
*
/
*
.gif
\
|
gzip
-9
>
html-
$(RELEASE)
.tar.gz
|
gzip
-9
>
html-
$(RELEASE)
.tar.gz
# convenience targets:
# convenience targets:
tarhtml
:
html-$(RELEASE).tar.gz
tarinfo
:
lib-info-$(RELEASE).tar.gz
tarinfo
:
lib-info-$(RELEASE).tar.gz
tarps
:
postscript-$(RELEASE).tar.gz
tarps
:
postscript-$(RELEASE).tar.gz
...
...
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