# febootstrap Makefile.am
-# (C) Copyright 2009 Red Hat Inc.
+# (C) Copyright 2009-2011 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# Written by Richard W.M. Jones <rjones@redhat.com>
-bin_SCRIPTS = febootstrap
+ACLOCAL_AMFLAGS = -I m4
-febootstrap: febootstrap.sh
- rm -f $@
- cp $< $@-t
- chmod 0755 $@-t
- mv $@-t $@
+SUBDIRS = lib src helper
-man_MANS = febootstrap.8
+EXTRA_DIST = \
+ .gitignore \
+ .gitmodules \
+ autogen.sh \
+ html/pod.css \
+ m4/gnulib-cache.m4 \
+ $(SOURCES)
-if HAVE_PERLDOC
-febootstrap.8: febootstrap.pod
- pod2man \
- --section 8 \
- -c "Virtualization Support" \
- --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- $< > $@
+# Maintainer website update.
+HTMLFILES = \
+ html/febootstrap.8.html \
+ html/febootstrap-supermin-helper.8.html
-febootstrap.txt: febootstrap.pod
- pod2text $< > $@
-endif
+WEBSITEDIR = $(HOME)/d/redhat/websites/libguestfs
-EXTRA_DIST = febootstrap.8 febootstrap.txt
+website: $(HTMLFILES)
+ cp $(HTMLFILES) $(WEBSITEDIR)
+
+CLEANFILES = $(HTMLFILES) pod2*.tmp