# Note these must be in build dependency order.
SOURCES = \
config.ml \
- febootstrap_utils.mli \
- febootstrap_utils.ml \
febootstrap_cmdline.mli \
febootstrap_cmdline.ml \
+ febootstrap_utils.mli \
+ febootstrap_utils.ml \
febootstrap_package_handlers.mli \
febootstrap_package_handlers.ml \
febootstrap_yum_rpm.ml \
autogen.sh \
febootstrap.8 \
febootstrap.pod \
+ html/pod.css \
m4/gnulib-cache.m4 \
$(SOURCES)
if !HAVE_OCAMLOPT
OBJECTS = $(BOBJECTS)
+BEST = c
else
OBJECTS = $(XOBJECTS)
+BEST = opt
endif
OCAMLPACKAGES = -package unix,str
OCAMLFLAGS = -warn-error CDEFLMPSUVXYZ
febootstrap: $(OBJECTS)
- $(OCAMLFIND) $(OCAMLBEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg \
+ $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg \
$^ -o $@
.mli.cmi:
-c "Virtualization Support" \
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
$< > $@
+
+noinst_DATA = \
+ html/febootstrap.8.html
+
+html/febootstrap.8.html: febootstrap.pod
+ mkdir -p html
+ pod2html \
+ --css 'pod.css' \
+ --htmldir html \
+ --outfile html/febootstrap.8.html \
+ febootstrap.pod
+
endif
+
+# Maintainer website update.
+HTMLFILES = \
+ html/febootstrap.8.html \
+ html/febootstrap-supermin-helper.8.html
+
+WEBSITEDIR = $(HOME)/d/redhat/websites/libguestfs
+
+website: $(HTMLFILES)
+ cp $(HTMLFILES) $(WEBSITEDIR)
+
+CLEANFILES += $(HTMLFILES) pod2*.tmp