Version 1.26
[virt-what.git] / Makefile.am
index 5435132..fdab435 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for virt-what
-# Copyright (C) 2008-2011 Red Hat Inc.
+# Copyright (C) 2008-2024 Red Hat Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -19,11 +19,12 @@ AM_CPPFLAGS = -Wall
 
 CLEANFILES = virt-what *~
 
-EXTRA_DIST = .gitignore virt-what.in virt-what.pod
+EXTRA_DIST = .gitignore virt-what.in virt-what.pod virt-what-cvm.pod
 
 SUBDIRS = . tests
 
 sbin_SCRIPTS = virt-what
+sbin_PROGRAMS = virt-what-cvm
 libexec_PROGRAMS = virt-what-cpuid-helper
 if HOST_CPU_IA64
 libexec_PROGRAMS += virt-what-ia64-xen-rdtsc-test
@@ -31,13 +32,13 @@ endif
 
 if HAVE_POD2MAN
 
-CLEANFILES += virt-what.1 virt-what.txt
-man_MANS = virt-what.1
+CLEANFILES += virt-what.1 virt-what-cvm.1 virt-what.txt virt-what-cvm.txt
+man_MANS = virt-what.1 virt-what-cvm.1
 
-virt-what.1: virt-what.pod
+%.1: %.pod
        pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
          $? > $@
-virt-what.txt: virt-what.pod
+%.txt: %.pod
        pod2text $? > $@
 
 endif
@@ -63,8 +64,8 @@ maintainer-check-extra-dist:
 # Commit everything in the current directory and set the commit
 # message to the current version number.
 maintainer-commit:
-       git commit -a -m "Version $(VERSION)."
+       git commit -a -m "Version $(VERSION)"
 
 # Tag HEAD with the current version.
 maintainer-tag:
-       git tag -a v$(VERSION) -m "Version $(VERSION)." -f
+       git tag -a v$(VERSION) -m "Version $(VERSION)" -f