aboutsummaryrefslogtreecommitdiff
path: root/buildfile
blob: 095a24bf3e6bba62cd9b5746285922008f7c77ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# file      : buildfile
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license   : TBC; see accompanying LICENSE file

define sh: file
sh{*}: extension =

./: {*/ -build/} sh{bootstrap buildos genmacaddr init qemu-ifup}            \
    doc{INSTALL LICENSE NEWS README version} file{buildos.service manifest}

# The version file is auto-generated (by the version module) from manifest.
# Include it in distribution and don't remove when cleaning in src (so that
# clean results in a state identical to distributed).
#
doc{version}: file{manifest}
doc{version}: dist  = true
doc{version}: clean = ($src_root != $out_root)

# Don't install INSTALL file. Scripts and buildos.service are installed by the
# bootstrap script.
#
doc{INSTALL}@./: install = false