Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / camlpdf
Commits:
-
02e75f23
by Stephane Glondu at 2024-08-12T19:06:47+02:00
-
424d3338
by Stephane Glondu at 2024-08-12T19:07:23+02:00
2 changed files:
Changes:
1 | +camlpdf (2.7-2) unstable; urgency=medium
|
|
2 | + |
|
3 | + * Fix autopkgtest on bytecode architectures
|
|
4 | + |
|
5 | + -- Stéphane Glondu <glondu@debian.org> Mon, 12 Aug 2024 19:07:09 +0200
|
|
6 | + |
|
1 | 7 | camlpdf (2.7-1) unstable; urgency=medium
|
2 | 8 | |
3 | 9 | * New upstream release
|
... | ... | @@ -2,12 +2,18 @@ |
2 | 2 | |
3 | 3 | set -e
|
4 | 4 | |
5 | +if [ -x /usr/bin/ocamlopt ]; then
|
|
6 | + TARGET=native-code
|
|
7 | +else
|
|
8 | + TARGET=byte-code
|
|
9 | +fi
|
|
10 | + |
|
5 | 11 | testdir=${AUTOPKGTEST_TMP:-/tmp}
|
6 | 12 | |
7 | 13 | cp -r examples ${testdir}
|
8 | 14 | cd ${testdir}/examples
|
9 | 15 | echo "** Compiling examples."
|
10 | -make
|
|
16 | +make $TARGET
|
|
11 | 17 | echo -n "** Executing pdfhello ... "
|
12 | 18 | ./pdfhello
|
13 | 19 | echo "done."
|