#! /bin/sh
## bootstrap file for the VLC media player
-## $Id: bootstrap,v 1.65 2003/07/05 14:47:53 sam Exp $
+## $Id: bootstrap,v 1.66 2003/07/07 16:53:48 sam Exp $
##
## Authors: Sam Hocevar <sam@zoy.org>
libvlcdir = \$(libdir)/vlc/${basedir}
include Modules.am
-clean:
+clean: clean-local
+clean-local:
rm -f *.a *.so *.dll *.sl *.dylib
EOF
# work properly with any automake version I tested.
cat >> modules/${dir}/Makefile.am << EOF
# The ${mod} plugin
-
+clean: clean-${mod}
all: all-${mod}
+EOF
+ if [ "${NODIST}" != "#" ]; then cat >> modules/${dir}/Makefile.am << EOF
+clean-${mod}:
+ rm -f \$(nodist_SOURCES_${mod})
+
+EOF
+ fi
+ cat >> modules/${dir}/Makefile.am << EOF
all-${mod}:
if BUILD_MOZILLA
@set fnord \$\$MAKEFLAGS; amf=\$\$2; \\