Rename virt-[tool].pl as virt-[tool]
authorRichard Jones <rjones@trick.home.annexia.org>
Wed, 23 Sep 2009 11:37:26 +0000 (12:37 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Wed, 23 Sep 2009 11:37:26 +0000 (12:37 +0100)
12 files changed:
Makefile.am
cat/Makefile.am
cat/virt-cat [moved from cat/virt-cat.pl with 100% similarity]
df/Makefile.am
df/virt-df [moved from df/virt-df.pl with 100% similarity]
edit/Makefile.am
edit/virt-edit [moved from edit/virt-edit.pl with 100% similarity]
inspector/Makefile.am
inspector/virt-inspector [moved from inspector/virt-inspector.pl with 100% similarity]
po/POTFILES.in
rescue/Makefile.am
rescue/virt-rescue [moved from rescue/virt-rescue.pl with 100% similarity]

index 0f478a9..98ee48a 100644 (file)
@@ -164,7 +164,13 @@ dist-hook:
 # Update the list of translatable files in po/POTFILES.in.
 all-local:
        cd $(srcdir); \
-       find $(DIST_SUBDIRS) -name '*.c' -o -name '*.pl' -o -name '*.pm' | \
+       find $(DIST_SUBDIRS) \
+           -name '*.c' -o -name '*.pl' -o -name '*.pm' -o \
+           -name 'virt-cat' -o \
+           -name 'virt-df' -o \
+           -name 'virt-edit' -o \
+           -name 'virt-inspector' -o \
+           -name 'virt-rescue' | \
        grep -v '^perl/blib/' | \
        grep -v '^capitests/' | \
        grep -v '^daemon/lib/' | \
index 5fe320b..c21983d 100644 (file)
 # 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
similarity index 100%
rename from cat/virt-cat.pl
rename to cat/virt-cat
index 08af772..845edc4 100644 (file)
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 EXTRA_DIST = \
-       run-df-locally \
-       virt-df.pl
+       run-df-locally
 
 if HAVE_DF
 
+bin_SCRIPTS = virt-df
 man_MANS = virt-df.1
 
 noinst_DATA = $(top_builddir)/html/virt-df.1.html
 
-virt-df.1: virt-df.pl
+virt-df.1: virt-df
        $(POD2MAN) \
          --section 1 \
          -c "Virtualization Support" \
          --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
          $< > $@-t && mv $@-t $@
 
-$(top_builddir)/html/virt-df.1.html: virt-df.pl
+$(top_builddir)/html/virt-df.1.html: virt-df
        mkdir -p $(top_builddir)/html
        cd $(top_builddir) && pod2html \
          --css 'pod.css' \
@@ -41,8 +41,4 @@ $(top_builddir)/html/virt-df.1.html: virt-df.pl
          --outfile html/virt-df.1.html \
          df/$<
 
-install-data-hook:
-       mkdir -p $(DESTDIR)$(bindir)
-       install -m 0755 virt-df.pl $(DESTDIR)$(bindir)/virt-df
-
 endif
similarity index 100%
rename from df/virt-df.pl
rename to df/virt-df
index df8ddb7..8489ebb 100644 (file)
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 EXTRA_DIST = \
-       run-edit-locally \
-       virt-edit.pl
+       run-edit-locally
 
 if HAVE_EDIT
 
+bin_SCRIPTS = virt-edit
 man_MANS = virt-edit.1
 
 noinst_DATA = $(top_builddir)/html/virt-edit.1.html
 
-virt-edit.1: virt-edit.pl
+virt-edit.1: virt-edit
        $(POD2MAN) \
          --section 1 \
          -c "Virtualization Support" \
          --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
          $< > $@-t && mv $@-t $@
 
-$(top_builddir)/html/virt-edit.1.html: virt-edit.pl
+$(top_builddir)/html/virt-edit.1.html: virt-edit
        mkdir -p $(top_builddir)/html
        cd $(top_builddir) && pod2html \
          --css 'pod.css' \
@@ -41,8 +41,4 @@ $(top_builddir)/html/virt-edit.1.html: virt-edit.pl
          --outfile html/virt-edit.1.html \
          edit/$<
 
-install-data-hook:
-       mkdir -p $(DESTDIR)$(bindir)
-       install -m 0755 virt-edit.pl $(DESTDIR)$(bindir)/virt-edit
-
 endif
similarity index 100%
rename from edit/virt-edit.pl
rename to edit/virt-edit
index 6eb3b57..7dd71dc 100644 (file)
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 EXTRA_DIST = \
-       run-inspector-locally \
-       virt-inspector.pl
+       run-inspector-locally
 
 if HAVE_INSPECTOR
 
+bin_SCRIPTS = virt-inspector
 man_MANS = virt-inspector.1
 
 noinst_DATA = $(top_builddir)/html/virt-inspector.1.html
 
-virt-inspector.1: virt-inspector.pl
+virt-inspector.1: virt-inspector
        $(POD2MAN) \
          --section 1 \
          -c "Virtualization Support" \
          --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
          $< > $@-t && mv $@-t $@
 
-$(top_builddir)/html/virt-inspector.1.html: virt-inspector.pl
+$(top_builddir)/html/virt-inspector.1.html: virt-inspector
        mkdir -p $(top_builddir)/html
        cd $(top_builddir) && pod2html \
          --css 'pod.css' \
@@ -41,8 +41,4 @@ $(top_builddir)/html/virt-inspector.1.html: virt-inspector.pl
          --outfile html/virt-inspector.1.html \
          inspector/$<
 
-install-data-hook:
-       mkdir -p $(DESTDIR)$(bindir)
-       install -m 0755 virt-inspector.pl $(DESTDIR)$(bindir)/virt-inspector
-
 endif
index f2ffba8..7ccadcf 100644 (file)
@@ -1,4 +1,4 @@
-cat/virt-cat.pl
+cat/virt-cat
 daemon/augeas.c
 daemon/blockdev.c
 daemon/checksum.c
@@ -55,8 +55,8 @@ daemon/wc.c
 daemon/xattr.c
 daemon/zero.c
 daemon/zerofree.c
-df/virt-df.pl
-edit/virt-edit.pl
+df/virt-df
+edit/virt-edit
 fish/alloc.c
 fish/cmds.c
 fish/completion.c
@@ -71,7 +71,7 @@ fish/rc.c
 fish/reopen.c
 fish/tilde.c
 fish/time.c
-inspector/virt-inspector.pl
+inspector/virt-inspector
 java/com_redhat_et_libguestfs_GuestFS.c
 ocaml/guestfs_c.c
 ocaml/guestfs_c_actions.c
@@ -81,7 +81,7 @@ perl/lib/Sys/Guestfs.pm
 perl/lib/Sys/Guestfs/Lib.pm
 python/guestfs-py.c
 regressions/test-noexec-stack.pl
-rescue/virt-rescue.pl
+rescue/virt-rescue
 ruby/ext/guestfs/_guestfs.c
 src/guestfs-actions.c
 src/guestfs-bindtests.c
index 1067c8d..aa8d38a 100644 (file)
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 EXTRA_DIST = \
-       run-rescue-locally \
-       virt-rescue.pl
+       run-rescue-locally
 
 if HAVE_RESCUE
 
+bin_SCRIPTS = virt-rescue
 man_MANS = virt-rescue.1
 
 noinst_DATA = $(top_builddir)/html/virt-rescue.1.html
 
-virt-rescue.1: virt-rescue.pl
+virt-rescue.1: virt-rescue
        $(POD2MAN) \
          --section 1 \
          -c "Virtualization Support" \
          --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
          $< > $@-t && mv $@-t $@
 
-$(top_builddir)/html/virt-rescue.1.html: virt-rescue.pl
+$(top_builddir)/html/virt-rescue.1.html: virt-rescue
        mkdir -p $(top_builddir)/html
        cd $(top_builddir) && pod2html \
          --css 'pod.css' \
@@ -41,8 +41,4 @@ $(top_builddir)/html/virt-rescue.1.html: virt-rescue.pl
          --outfile html/virt-rescue.1.html \
          rescue/$<
 
-install-data-hook:
-       mkdir -p $(DESTDIR)$(bindir)
-       install -m 0755 virt-rescue.pl $(DESTDIR)$(bindir)/virt-rescue
-
 endif
similarity index 100%
rename from rescue/virt-rescue.pl
rename to rescue/virt-rescue