1 Debian patch touch this file
-
use Debian paths everywhere
- Author
- first written by B.Barenblat in 2019, updated by J.Puydt in 2021 and 2025
- Forwarded
- not-needed
| •1 | #!/usr/bin/bash |
| 2 | |
| 3 | set -e |
| 4 | export PATH=$COQBIN:$PATH |
| 5 | export LC_ALL=C |
| 6 | |
| 7 | rm -rf _test |
| 8 | mkdir _test |
| 9 | cp _CoqProject _test/ |
| 10 | cd _test |
| 11 | mkdir src |
| 12 | |
| 13 | echo '{ let foo = () }' > src/file1.mlg |
| 14 | echo 'let bar = File1.foo' > src/file2.ml |
| 15 | rocq makefile -f _CoqProject -o Makefile |
| 16 | if which ocamlopt >/dev/null 2>&1; then |
| 17 | make src/file2.cmx |
| 18 | [ -f src/file2.cmx ] |
| 19 | fi |
| 20 | make src/file2.cmo |
| 21 | [ -f src/file2.cmo ] |