summaryrefslogtreecommitdiffstats
path: root/cat
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-09-23 12:37:26 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-09-23 12:37:26 +0100
commitb488436cc54288fcae8988493749f2e6c87f274c (patch)
tree6d5e8bbbd56048507c64490e623b18f9c7e1cd62 /cat
parent75b6338da3e6e33c02b931623f074ab5a76a1788 (diff)
downloadlibguestfs-b488436cc54288fcae8988493749f2e6c87f274c.tar.gz
libguestfs-b488436cc54288fcae8988493749f2e6c87f274c.tar.xz
libguestfs-b488436cc54288fcae8988493749f2e6c87f274c.zip
Rename virt-[tool].pl as virt-[tool]
Diffstat (limited to 'cat')
-rw-r--r--cat/Makefile.am12
-rwxr-xr-xcat/virt-cat (renamed from cat/virt-cat.pl)0
2 files changed, 4 insertions, 8 deletions
diff --git a/cat/Makefile.am b/cat/Makefile.am
index 5fe320bd..c21983d2 100644
--- a/cat/Makefile.am
+++ b/cat/Makefile.am
@@ -16,23 +16,23 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
EXTRA_DIST = \
- run-cat-locally \
- virt-cat.pl
+ run-cat-locally
if HAVE_CAT
+bin_SCRIPTS = virt-cat
man_MANS = virt-cat.1
noinst_DATA = $(top_builddir)/html/virt-cat.1.html
-virt-cat.1: virt-cat.pl
+virt-cat.1: virt-cat
$(POD2MAN) \
--section 1 \
-c "Virtualization Support" \
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
$< > $@-t && mv $@-t $@
-$(top_builddir)/html/virt-cat.1.html: virt-cat.pl
+$(top_builddir)/html/virt-cat.1.html: virt-cat
mkdir -p $(top_builddir)/html
cd $(top_builddir) && pod2html \
--css 'pod.css' \
@@ -41,8 +41,4 @@ $(top_builddir)/html/virt-cat.1.html: virt-cat.pl
--outfile html/virt-cat.1.html \
cat/$<
-install-data-hook:
- mkdir -p $(DESTDIR)$(bindir)
- install -m 0755 virt-cat.pl $(DESTDIR)$(bindir)/virt-cat
-
endif
diff --git a/cat/virt-cat.pl b/cat/virt-cat
index 329ba6e3..329ba6e3 100755
--- a/cat/virt-cat.pl
+++ b/cat/virt-cat