File: source

package info (click to toggle)
ocamlweb 1.41-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 824 kB
  • sloc: ml: 5,772; sh: 1,756; makefile: 214
file content (11 lines) | stat: -rwxr-xr-x 157 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

infile=main.ml
texfile=${infile%.ml}.tex
outdir=${ADT_ARTIFACTS}

ocamlweb ${infile} > ${outdir}/${texfile}
cd ${outdir}
latex ${texfile}