[Pkg-libvirt-commits] [libguestfs] 53/266: html: Don't build HTMLFILES for disabled features.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit e0ba7855f48284efa27efcae1fa69fb5f3354cf9
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Sun Jul 27 11:18:55 2014 +0100

    html: Don't build HTMLFILES for disabled features.
---
 Makefile.am | 44 +++++++++++++++++++++++++++++++++-----------
 1 file changed, 33 insertions(+), 11 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f66c063..0ec1a2c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -219,24 +219,13 @@ EXTRA_DIST = \
 HTMLFILES = \
 	html/guestfs.3.html \
 	html/guestfs-examples.3.html \
-	html/guestfs-erlang.3.html \
 	html/guestfs-faq.1.html \
-	html/guestfs-golang.3.html \
-	html/guestfs-java.3.html \
-	html/guestfs-lua.3.html \
-	html/guestfs-ocaml.3.html \
-	html/guestfs-p2v-iso.1.html \
 	html/guestfs-performance.1.html \
-	html/guestfs-perl.3.html \
-	html/guestfs-python.3.html \
 	html/guestfs-recipes.1.html \
 	html/guestfs-release-notes.1.html \
-	html/guestfs-ruby.3.html \
 	html/guestfs-testing.1.html \
 	html/guestfsd.8.html \
 	html/guestfish.1.html \
-	html/guestmount.1.html \
-	html/guestunmount.1.html \
 	html/libguestfs-make-fixed-appliance.1.html \
 	html/libguestfs-test-tool.1.html \
 	html/virt-alignment-scan.1.html \
@@ -266,6 +255,39 @@ HTMLFILES = \
 	html/virt-v2v.1.html \
 	html/virt-win-reg.1.html
 
+if HAVE_ERLANG
+HTMLFILES += html/guestfs-erlang.3.html
+endif
+if HAVE_GOLANG
+HTMLFILES += html/guestfs-golang.3.html
+endif
+if HAVE_JAVA
+HTMLFILES += html/guestfs-java.3.html
+endif
+if HAVE_LUA
+HTMLFILES += html/guestfs-lua.3.html
+endif
+if HAVE_OCAML
+HTMLFILES += html/guestfs-ocaml.3.html
+endif
+if HAVE_PERL
+HTMLFILES += html/guestfs-perl.3.html
+endif
+if HAVE_PYTHON
+HTMLFILES += html/guestfs-python.3.html
+endif
+if HAVE_P2V
+HTMLFILES += html/guestfs-p2v-iso.1.html
+endif
+if HAVE_RUBY
+HTMLFILES += html/guestfs-ruby.3.html
+endif
+if HAVE_FUSE
+HTMLFILES += \
+	html/guestmount.1.html \
+	html/guestunmount.1.html
+endif
+
 HTMLSUPPORTFILES = \
 	html/draft.png \
 	html/pod.css \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list