#! /bin/sh
## bootstrap file for the VLC media player
-## $Id: bootstrap,v 1.83 2003/11/15 01:21:48 massiot Exp $
+## $Id$
##
## Authors: Sam Hocevar <sam@zoy.org>
do
printf "."
mf="modules/${dir}/Modules.am"
- basedir="${dir%%\/*}"
+ basedir="`echo "${dir}" | cut -f1 -d/`"
# automake will not recurse for make dist if we don't define SUBDIRS = .
subdirs="`sed -ne 's,'modules/${dir}'/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`"
rm -f modules/${dir}/Makefile.am && cat > modules/${dir}/Makefile.am << EOF