X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=autogen.sh;fp=autogen.sh;h=c89e67497f1d01642d93080e80cd315392481fd0;hp=0000000000000000000000000000000000000000;hb=ac5b03be829b4c9369ebfb07a688308721103228;hpb=371ca25167a217d647971384c37aa3fcee8a4aef diff --git a/autogen.sh b/autogen.sh new file mode 100644 index 0000000..c89e674 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +echo -n cleaning up . + +# Clean up the generated crud +( + for FILE in compile config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs; do + if test -f $FILE; then + rm -f $FILE + fi + echo -n . + done +) + +for FILE in aclocal.m4 configure config.h.in; do + if test -f $FILE; then + rm -f $FILE + fi + echo -n . +done + +for DIR in autom4te.cache; do + if test -d $DIR; then + rm -rf $DIR + fi + echo -n . +done + +find . -type f -name 'Makefile.in' -print0 | xargs -r0 rm -f -- +find . -type f -name 'Makefile' -print0 | xargs -r0 rm -f -- + +echo ' done' + +if test x"${1}" = x"clean"; then + exit +fi + +aclocal -I aclocal +libtoolize --force --copy +autoheader +automake --add-missing --copy --gnu # -Wall +autoconf # -Wall