diff options
Diffstat (limited to 'rescue')
-rw-r--r-- | rescue/Makefile.am | 12 | ||||
-rwxr-xr-x | rescue/virt-rescue (renamed from rescue/virt-rescue.pl) | 0 |
2 files changed, 4 insertions, 8 deletions
diff --git a/rescue/Makefile.am b/rescue/Makefile.am index 1067c8d2..aa8d38a8 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 index a44940d5..a44940d5 100755 --- a/rescue/virt-rescue.pl +++ b/rescue/virt-rescue |