summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.cvsignore11
-rw-r--r--Makefile.am24
-rwxr-xr-xautogen.sh5
-rw-r--r--configure.ac2
4 files changed, 41 insertions, 1 deletions
diff --git a/.cvsignore b/.cvsignore
index 68734ff..1d61e52 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,2 +1,13 @@
+Makefile.in
+Makefile
+aclocal.m4
+autom4te.cache
+config.h.in
+config.h
+config.log
+config.status
+configure
febootstrap
febootstrap.8
+febootstrap.txt
+stamp-h1
diff --git a/Makefile.am b/Makefile.am
index 81c874a..24328b3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,3 +16,27 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Written by Richard W.M. Jones <rjones@redhat.com>
+
+bin_SCRIPTS = febootstrap
+
+febootstrap: febootstrap.sh
+ rm -f $@
+ cp $< $@-t
+ chmod 0755 $@-t
+ mv $@-t $@
+
+man_MANS = febootstrap.8
+
+if HAVE_PERLDOC
+febootstrap.8: febootstrap.pod
+ pod2man \
+ --section 8 \
+ -c "Virtualization Support" \
+ --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
+ $< > $@
+
+febootstrap.txt: febootstrap.pod
+ pod2text $< > $@
+endif
+
+EXTRA_DIST = febootstrap.8 febootstrap.txt
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..32f085b
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,5 @@
+#!/bin/sh -
+
+export AUTOMAKE='automake --foreign --add-missing'
+autoreconf
+./configure "$@"
diff --git a/configure.ac b/configure.ac
index 169617c..9df1cc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ AC_CHECK_PROG(PERLDOC,[perldoc],[perldoc],[no])
if test "x$PERLDOC" = "xno" ; then
AC_MSG_WARN([perldoc not found - install perl to make man pages])
fi
-AM_CONDITIONAL(PERLDOC,[test "$perldoc" != "no"])
+AM_CONDITIONAL(HAVE_PERLDOC,[test "$perldoc" != "no"])
AC_CHECK_PROG(FAKEROOT,[fakeroot],[fakeroot],[no])
if test "x$FAKEROOT" = "xno" ; then