From: Richard Jones Date: Wed, 23 Sep 2009 11:37:26 +0000 (+0100) Subject: Rename virt-[tool].pl as virt-[tool] X-Git-Tag: 1.0.72~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b488436cc54288fcae8988493749f2e6c87f274c;p=libguestfs.git Rename virt-[tool].pl as virt-[tool] --- diff --git a/Makefile.am b/Makefile.am index 0f478a9..98ee48a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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/' | \ diff --git a/cat/Makefile.am b/cat/Makefile.am index 5fe320b..c21983d 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 similarity index 100% rename from cat/virt-cat.pl rename to cat/virt-cat diff --git a/df/Makefile.am b/df/Makefile.am index 08af772..845edc4 100644 --- a/df/Makefile.am +++ b/df/Makefile.am @@ -16,23 +16,23 @@ # 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 diff --git a/df/virt-df.pl b/df/virt-df similarity index 100% rename from df/virt-df.pl rename to df/virt-df diff --git a/edit/Makefile.am b/edit/Makefile.am index df8ddb7..8489ebb 100644 --- a/edit/Makefile.am +++ b/edit/Makefile.am @@ -16,23 +16,23 @@ # 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 diff --git a/edit/virt-edit.pl b/edit/virt-edit similarity index 100% rename from edit/virt-edit.pl rename to edit/virt-edit diff --git a/inspector/Makefile.am b/inspector/Makefile.am index 6eb3b57..7dd71dc 100644 --- a/inspector/Makefile.am +++ b/inspector/Makefile.am @@ -16,23 +16,23 @@ # 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 diff --git a/inspector/virt-inspector.pl b/inspector/virt-inspector similarity index 100% rename from inspector/virt-inspector.pl rename to inspector/virt-inspector diff --git a/po/POTFILES.in b/po/POTFILES.in index f2ffba8..7ccadcf 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -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 diff --git a/rescue/Makefile.am b/rescue/Makefile.am index 1067c8d..aa8d38a 100644 --- a/rescue/Makefile.am +++ b/rescue/Makefile.am @@ -16,23 +16,23 @@ # 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 diff --git a/rescue/virt-rescue.pl b/rescue/virt-rescue similarity index 100% rename from rescue/virt-rescue.pl rename to rescue/virt-rescue