b193d637e39e0ec4dc84739f5a8b02cf9d093c6b
[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/sbin/dmidecode \
23         tests/baremetal/sbin/id \
24         tests/baremetal/sbin/virt-what-cpuid-helper \
25         tests/esx4.1/proc/cpuinfo \
26         tests/esx4.1/sbin/dmidecode \
27         tests/esx4.1/sbin/id \
28         tests/esx4.1/sbin/virt-what-cpuid-helper \
29         tests/kvm/proc/cpuinfo \
30         tests/kvm/sbin/dmidecode \
31         tests/kvm/sbin/id \
32         tests/kvm/sbin/virt-what-cpuid-helper \
33         tests/qemu/proc/cpuinfo \
34         tests/qemu/sbin/dmidecode \
35         tests/qemu/sbin/id \
36         tests/qemu/sbin/virt-what-cpuid-helper \
37         tests/test-baremetal.sh \
38         tests/test-esx4.1.sh \
39         tests/test-kvm.sh \
40         tests/test-qemu.sh
41
42 CLEANFILES = virt-what.1 virt-what.txt
43
44 AM_CPPFLAGS = -Wall
45
46 sbin_SCRIPTS = virt-what
47 libexec_PROGRAMS = virt-what-cpuid-helper
48
49 man_MANS = virt-what.1
50
51 virt-what.1: virt-what.pod
52         pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
53           $< > $@
54
55 virt-what.txt: virt-what.pod
56         pod2text $< > $@
57
58 TESTS = \
59         tests/test-baremetal.sh \
60         tests/test-esx4.1.sh \
61         tests/test-kvm.sh \
62         tests/test-qemu.sh
63 # tests/test-virtualbox.sh \
64 # tests/test-xen-dom0.sh \
65 # tests/test-xen-domU.sh