X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=7ac5079221fd2201bcfc5dcb5d95599351ff5b8a;hb=refs%2Ftags%2F3.9;hp=d04412c300f8429e3b19516635fa6ac1b64568ed;hpb=3e156a27f7f67c9e05f1b25261c2fe4a0f4e14ff;p=febootstrap.git diff --git a/Makefile.am b/Makefile.am index d04412c..7ac5079 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,10 +24,10 @@ SUBDIRS = lib helper # 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 \ @@ -43,6 +43,7 @@ EXTRA_DIST = \ autogen.sh \ febootstrap.8 \ febootstrap.pod \ + html/pod.css \ m4/gnulib-cache.m4 \ $(SOURCES) @@ -57,15 +58,17 @@ XOBJECTS = $(SOURCES_ML:.ml=.cmx) 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: @@ -94,4 +97,28 @@ febootstrap.8: febootstrap.pod -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