Generate some files automatically from system files

This commit is contained in:
Guido van Rossum 1994-05-23 12:15:33 +00:00
parent 7f61b3511c
commit f624666eb3
2 changed files with 20 additions and 0 deletions

10
Lib/irix5/regen Executable file
View File

@ -0,0 +1,10 @@
#! /bin/sh
case `uname -sr` in
'IRIX '[45].*) ;;
*) echo Probably not on a n IRIX system 1>&2
exit 1;;
esac
set -v
h2py /usr/include/sys/fcntl.h
h2py /usr/include/sys/socket.h
h2py -i '(u_long)' /usr/include/netinet/in.h

10
Lib/plat-irix5/regen Executable file
View File

@ -0,0 +1,10 @@
#! /bin/sh
case `uname -sr` in
'IRIX '[45].*) ;;
*) echo Probably not on a n IRIX system 1>&2
exit 1;;
esac
set -v
h2py /usr/include/sys/fcntl.h
h2py /usr/include/sys/socket.h
h2py -i '(u_long)' /usr/include/netinet/in.h