summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Makefile')
-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