Move febootstrap-supermin-helper into helper/ subdirectory.
[febootstrap.git] / helper / Makefile.am
diff --git a/helper/Makefile.am b/helper/Makefile.am
new file mode 100644 (file)
index 0000000..66d5b49
--- /dev/null
@@ -0,0 +1,46 @@
+# febootstrap Makefile.am
+# (C) Copyright 2010 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# Written by Richard W.M. Jones <rjones@redhat.com>
+
+bin_PROGRAMS = \
+       febootstrap-supermin-helper
+
+febootstrap_supermin_helper_SOURCES = main.c
+febootstrap_supermin_helper_CFLAGS = -Wall -I../lib
+febootstrap_supermin_helper_LDADD = $(LTLIBINTL) -L../lib -lgnu
+
+man_MANS = \
+       febootstrap-supermin-helper.8
+
+if HAVE_PERLDOC
+
+febootstrap-supermin-helper.8: febootstrap-supermin-helper.pod
+       pod2man \
+         --section 8 \
+         -c "Virtualization Support" \
+         --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
+         $< > $@
+
+febootstrap-supermin-helper.txt: febootstrap-supermin-helper.pod
+       pod2text $< > $@
+
+endif
+
+EXTRA_DIST = \
+       febootstrap-supermin-helper.8 febootstrap-supermin-helper.txt \
+         febootstrap-supermin-helper.pod