diff options
author | mm2 <marti.maria@littlecms.com> | 2021-06-24 12:23:15 +0200 |
---|---|---|
committer | mm2 <marti.maria@littlecms.com> | 2021-06-24 12:23:15 +0200 |
commit | 5ef8c971244fe4e8e376afdcfad67899a73a9285 (patch) | |
tree | 956324af10f41a7d55320436e05cd986d41b78a1 /autogen.sh | |
parent | d677b1323fcd94e1f1199fe89a27bf01af6157a2 (diff) | |
download | lcms2-5ef8c971244fe4e8e376afdcfad67899a73a9285.tar.gz |
Remove all autotools files
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -7,6 +7,16 @@ test -z "$srcdir" && srcdir=. DIE=0 ACLOCAL_FLAGS="-I m4" +if [ "$1" = "--distclean" ]; +then + make distclean + rm configure config.guess config.sub depcomp install-sh missing + rm aclocal.m4 compile ltmain.sh m4/libtool.m4 m4/ltoptions.m4 + rm m4/ltsugar.m4 m4/lt~obsolete.m4 m4/ltversion.m4 + echo done cleaning! + exit 0 +fi + (test -f $srcdir/configure.ac) || { echo -n "**Error**: Directory $srcdir does not look like the" echo " top-level package directory" @@ -22,7 +32,7 @@ ACLOCAL_FLAGS="-I m4" } (grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && { - (libtool --version) < /dev/null > /dev/null 2>&1 || { + (libtoolize --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have libtool installed." echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" |