Browse Source

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

pull/2/head
Sam Hocevar 23 years ago
parent
commit
76bbfbacd9
  1. 15
      bootstrap

15
bootstrap

@ -1,7 +1,7 @@
#! /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; \\

Loading…
Cancel
Save