[pvr] configure and build pvr add-ons if the tree is found in /pvr-addons, so these...
[vuplus_xbmc] / bootstrap
index 9205697..86b5189 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,8 +1,26 @@
 #!/bin/sh
 
+set -e
+
 autoreconf -vif
-autoreconf -vif xbmc/lib/libass
-autoreconf --force --install xbmc/cores/dvdplayer/Codecs/libbdnav
+autoreconf -vif lib/libid3tag/libid3tag
+autoreconf -vif xbmc/screensavers/rsxs-0.9
+autoreconf -vif xbmc/visualizations/Goom/goom2k4-0
+autoreconf -vif lib/libapetag
+autoreconf -vif lib/cpluff
+# order matters with libdvd and friends
+[ -d lib/libdvd/libdvdcss ] && \
+  autoreconf -vif lib/libdvd/libdvdcss
+autoreconf -vif lib/libdvd/libdvdread
+autoreconf -vif lib/libdvd/libdvdnav
+autoreconf -vif lib/gtest
+
+if [ -f pvr-addons/Makefile.am ]; then
+  autoreconf -vif pvr-addons
+fi
+
+# Clean the generated files
+find . -depth -type d -name "autom4te.cache" -exec rm -rf {} \;
 
 echo "Please (re)run configure..."