Fix tests: Add /proc/self/status to test roots.
[virt-what.git] / Makefile.am
1 # Makefile for virt-what
2 # Copyright (C) 2008-2011 Red Hat Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 EXTRA_DIST = \
19         virt-what.in \
20         virt-what.pod \
21         tests/baremetal/proc/cpuinfo \
22         tests/baremetal/proc/self/status \
23         tests/baremetal/sbin/dmidecode \
24         tests/baremetal/sbin/id \
25         tests/baremetal/sbin/virt-what-cpuid-helper \
26         tests/esx4.1/proc/cpuinfo \
27         tests/esx4.1/proc/self/status \
28         tests/esx4.1/sbin/dmidecode \
29         tests/esx4.1/sbin/id \
30         tests/esx4.1/sbin/virt-what-cpuid-helper \
31         tests/kvm/proc/cpuinfo \
32         tests/kvm/proc/self/status \
33         tests/kvm/sbin/dmidecode \
34         tests/kvm/sbin/id \
35         tests/kvm/sbin/virt-what-cpuid-helper \
36         tests/qemu/proc/cpuinfo \
37         tests/qemu/proc/self/status \
38         tests/qemu/sbin/dmidecode \
39         tests/qemu/sbin/id \
40         tests/qemu/sbin/virt-what-cpuid-helper \
41         tests/test-baremetal.sh \
42         tests/test-esx4.1.sh \
43         tests/test-kvm.sh \
44         tests/test-qemu.sh
45
46 CLEANFILES = virt-what.1 virt-what.txt
47
48 AM_CPPFLAGS = -Wall
49
50 sbin_SCRIPTS = virt-what
51 libexec_PROGRAMS = virt-what-cpuid-helper
52
53 man_MANS = virt-what.1
54
55 virt-what.1: virt-what.pod
56         pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
57           $< > $@
58
59 virt-what.txt: virt-what.pod
60         pod2text $< > $@
61
62 TESTS = \
63         tests/test-baremetal.sh \
64         tests/test-esx4.1.sh \
65         tests/test-kvm.sh \
66         tests/test-qemu.sh
67 # tests/test-virtualbox.sh \
68 # tests/test-xen-dom0.sh \
69 # tests/test-xen-domU.sh