]> granicus.if.org Git - python/commitdiff
Donn Cave <donn@u.washington.edu>:
authorFred Drake <fdrake@acm.org>
Fri, 6 Oct 2000 16:11:21 +0000 (16:11 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 6 Oct 2000 16:11:21 +0000 (16:11 +0000)
Script to regenerate platform-specific modules of constants.

[I moved common paths to variables for easier reading by humans. -- FLD]

This closes SourceForge patch #101781.

Lib/plat-beos5/regen [new file with mode: 0755]

diff --git a/Lib/plat-beos5/regen b/Lib/plat-beos5/regen
new file mode 100755 (executable)
index 0000000..aa1912f
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+H2PY=../../Tools/scripts/h2py.py
+HEADERS=/boot/develop/headers
+
+set -v
+python $H2PY $HEADERS/posix/fcntl.h
+python $H2PY $HEADERS/be/net/socket.h
+python $H2PY -i '(u_long)' $HEADERS/be/net/netinet/in.h
+python $H2PY $HEADERS/posix/termios.h