summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-08-09 14:25:15 (GMT)
committerGuido van Rossum <guido@python.org>1990-08-09 14:25:15 (GMT)
commit7f777ed95a19224294949e1b4ce56bbffcb1fe9f (patch)
tree52384aa82c1f7785424544fc3ee003729b07ac12 /Doc
downloadcpython-7f777ed95a19224294949e1b4ce56bbffcb1fe9f.zip
cpython-7f777ed95a19224294949e1b4ce56bbffcb1fe9f.tar.gz
cpython-7f777ed95a19224294949e1b4ce56bbffcb1fe9f.tar.bz2
Initial revision
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile29
-rw-r--r--Doc/README25
2 files changed, 54 insertions, 0 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
new file mode 100644
index 0000000..0ccb7de
--- /dev/null
+++ b/Doc/Makefile
@@ -0,0 +1,29 @@
+TROFF= ditroff
+MS= -ms
+PREVIEW= dpv
+
+intro: intro.dit
+ $(PREVIEW) intro.dit
+
+modules: modules.dit
+ $(PREVIEW) modules.dit
+
+paper: paper.dit
+ $(PREVIEW) paper.dit
+
+ref: ref.dit
+ $(PREVIEW) ref.dit
+
+ALL= intro.dit modules.dit paper.dit ref.dit
+
+all: $(ALL)
+
+$(ALL): macros.ms
+
+clean:
+ rm -f $(ALL)
+
+.SUFFIXES: .ms .dit
+
+.ms.dit:
+ $(TROFF) $(MS) $*.ms >$@
diff --git a/Doc/README b/Doc/README
new file mode 100644
index 0000000..d44e8a8
--- /dev/null
+++ b/Doc/README
@@ -0,0 +1,25 @@
+This directory contains the source to the Python documentation.
+
+Unfortunately it's not not very readable, complete or up-to-date yet --
+in other words, I'm still working on it!
+
+There are four documents and a macro file:
+
+ macros.ms macros .so'ed by the documents
+
+ paper.ms conference paper about Python
+ intro.ms informal introduction to Python
+ ref.ms Python language reference manual
+ modules.ms description of standard modules
+
+XXX There should also be a man page.
+
+To typeset one of the documents on the default Postscript printer, chdir
+to this directory (otherwise the macros aren't found!) and issue the
+command
+
+ pstroff -ms file.ms
+
+When typesetting all documents, issue a separate command for each.
+
+--Guido (last modified 10 Sep 90)