Commit 99dc528c21311e952093b0a7d6e1695cffe46e63

ckolivas 2013-08-29T12:07:26

Remove cached files from libusb autoconf on running autogen.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/autogen.sh b/autogen.sh
index 985cea9..ab119f5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,6 +2,9 @@
 bs_dir="$(dirname $(readlink -f $0))"
 rm -rf "${bs_dir}"/autom4te.cache
 rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh
+libusb_dir="${bs_dir}"/libusb-1.0/
+rm -rf "${libusb_dir}"/autom4te.cache
+rm -rf "${libusb_dir}"/aclocal.m4 "${libusb_dir}"/ltmain.sh
 
 echo 'Running autoreconf -if...'
 aclocal --force -I m4