summaryrefslogtreecommitdiff
path: root/build/camlp4-byte-only.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/camlp4-byte-only.sh')
-rwxr-xr-xbuild/camlp4-byte-only.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/camlp4-byte-only.sh b/build/camlp4-byte-only.sh
new file mode 100755
index 0000000000..e1854ab4d0
--- /dev/null
+++ b/build/camlp4-byte-only.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+export OCAMLBUILD_PARTIAL="true"
+cd `dirname $0`/..
+source build/targets.sh
+set -x
+$OCAMLBUILD $@ $OCAMLC_BYTE $OCAMLLEX_BYTE $CAMLP4_BYTE