File: link-with-shared

package info (click to toggle)
libxmlada 25.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,212 kB
  • sloc: ada: 78,068; sh: 3,310; makefile: 394; xml: 111; python: 39
file content (21 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
set -C -e -f -u

# Build domexample.adb with the gprbuild compiler driver.

docdir=/usr/share/doc/libxmlada-doc/examples/dom

cd "$AUTOPKGTEST_TMP"

cat > p.gpr <<EOF
with "xmlada";
project P is
   for Main use ("domexample.adb");
end P;
EOF

cp $docdir/domexample.adb .
gprbuild -v p.gpr

cp $docdir/pref.xml .
./domexample