summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-15 19:12:08 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-15 19:12:08 (GMT)
commitb235d9e673cf81464c7efddda1868fbb4b319322 (patch)
tree74cb60bbe383ab91a9bcfb0213542b97f3110b75 /Doc
parent09270b51e4d50bc21b725469ec08cd5b9650b157 (diff)
downloadcpython-b235d9e673cf81464c7efddda1868fbb4b319322.zip
cpython-b235d9e673cf81464c7efddda1868fbb4b319322.tar.gz
cpython-b235d9e673cf81464c7efddda1868fbb4b319322.tar.bz2
Tweaked all l2h targets to remove the target directory before renaming
the intermediate target directory.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 58bb93e..01bed3b 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -182,8 +182,9 @@ l2hext: ext.dvi myformat.perl
@rm -rf python-ext
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
<ext/ext.html >ext/xxx
- ln -s ext.html ext/index.html
mv ext/xxx ext/ext.html
+ ln -s ext.html ext/index.html
+ @rm -rf python-ext
mv ext python-ext
l2hlib: lib.dvi myformat.perl
@@ -202,8 +203,9 @@ l2hapi: api.dvi myformat.perl
@rm -rf python-api
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
<api/api.html >api/xxx
- ln -s api.html api/index.html
mv api/xxx api/api.html
+ ln -s api.html api/index.html
+ @rm -rf python-api
mv api python-api