Commit 76bbfbac authored by Sam Hocevar's avatar Sam Hocevar
Browse files

* bootstrap: The "clean" rule now also removes generated sources.

parent 2ba0953d
#! /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>
......@@ -93,7 +93,8 @@ SUBDIRS = ${subdirs}
libvlcdir = \$(libdir)/vlc/${basedir}
include Modules.am
clean:
clean: clean-local
clean-local:
rm -f *.a *.so *.dll *.sl *.dylib
EOF
......@@ -122,9 +123,17 @@ 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; \\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment