Version 3.5.
[febootstrap.git] / Makefile.am
index 3dcbe1f..4765024 100644 (file)
@@ -32,6 +32,7 @@ SOURCES = \
        febootstrap_package_handlers.ml \
        febootstrap_yum_rpm.ml \
        febootstrap_debian.ml \
+       febootstrap_pacman.ml \
        febootstrap.ml
 
 CLEANFILES = *~ *.cmi *.cmo *.cmx *.o febootstrap
@@ -42,6 +43,7 @@ EXTRA_DIST = \
        autogen.sh \
        febootstrap.8 \
        febootstrap.pod \
+       html/pod.css \
        m4/gnulib-cache.m4 \
        $(SOURCES)
 
@@ -93,4 +95,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