aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh11
-rwxr-xr-xclean.sh13
2 files changed, 24 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..8571dd9
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+aclocal || exit 1
+autoheader || exit 1
+libtoolize --automake -c -f || exit 1
+autoconf || exit 1
+automake -a -c || exit 1
+
+if [ -x ./test.sh ] ; then
+ exec ./test.sh "$@"
+fi
diff --git a/clean.sh b/clean.sh
new file mode 100755
index 0000000..0d81b3a
--- /dev/null
+++ b/clean.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+for f in \
+ `find . -name Makefile.in -o -name Makefile` \
+ `find . -name .libs -o -name .deps -type d` \
+ `find . -name '*.o' -o -name '*.la' -o -name '*.lo' -o -name '*.loT'` \
+ aclocal.m4* autom4te.cache \
+ configure config.* \
+ depcomp install-sh ltmain.sh missing mkinstalldirs libtool \
+ compile sandbox stamp-* localdecls.h ;
+do
+ rm -rf $f
+done