X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=edit%2FMakefile.am;h=6afdd6286667289f6c22afe783240e679b3f83ef;hb=4c8bdd342450aad1f49a44a009eae015a44f9572;hp=df8ddb7c98b07d71c7fc1ddaad1acdf32befd240;hpb=9adddc19e448781cf2076c44f66242fe48b47c7c;p=libguestfs.git diff --git a/edit/Makefile.am b/edit/Makefile.am index df8ddb7..6afdd62 100644 --- a/edit/Makefile.am +++ b/edit/Makefile.am @@ -17,22 +17,23 @@ EXTRA_DIST = \ run-edit-locally \ - virt-edit.pl + virt-edit 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 +42,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