mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Tweaked all l2h targets to remove the target directory before renaming
the intermediate target directory.
This commit is contained in:
parent
09270b51e4
commit
b235d9e673
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue