git.annexia.org
/
virt-what.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man: detect with autotools if pod2man is present
[virt-what.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
2cd99fb
..
4ddbb64
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-15,7
+15,7
@@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-CLEANFILES = virt-what
virt-what.1 virt-what.txt
+CLEANFILES = virt-what
AM_CPPFLAGS = -Wall
AM_CPPFLAGS = -Wall
@@
-25,15
+25,19
@@
if HOST_CPU_IA64
libexec_PROGRAMS += virt-what-ia64-xen-rdtsc-test
endif
libexec_PROGRAMS += virt-what-ia64-xen-rdtsc-test
endif
+if HAVE_POD2MAN
+
+CLEANFILES += virt-what.1 virt-what.txt
man_MANS = virt-what.1
virt-what.1: virt-what.pod
pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
$< > $@
man_MANS = virt-what.1
virt-what.1: virt-what.pod
pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
$< > $@
-
virt-what.txt: virt-what.pod
pod2text $< > $@
virt-what.txt: virt-what.pod
pod2text $< > $@
+endif
+
TESTS = \
tests/test-baremetal.sh \
tests/test-esx4.1.sh \
TESTS = \
tests/test-baremetal.sh \
tests/test-esx4.1.sh \