summaryrefslogtreecommitdiff
path: root/common/changelog/buildfile
blob: 04e0685959d1903f365a1d2a698eef5db1bf26fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# file      : common/changelog/buildfile
# license   : GNU GPL v2; see accompanying LICENSE file

import libodb = libodb%lib{odb}

./: file{odb.options} xml{*} testscript

# Introduce the metadata library target to make sure the libodb library is
# resolved for the below ad hoc recipe.
#
libue{test-meta}: $libodb

file{odb.options}: libue{test-meta}
{{
  pops = $cxx.lib_poptions($<[0])
  depdb hash $pops

  f = $path($>[0])
  rm -f $f

  for o: $pops
    echo $o >+$f
  end
}}

# Testscript's run-time prerequisites.
#
testscript@./: test = $odb

./: $odb: clean = false