xine-lib-cleanup-sources.sh: Fix removing unwanted input plugin files.
EXTRA_DIST is not an actual use of the file.
This commit is contained in:
parent
c02680866f
commit
23f22cd378
@ -48,7 +48,7 @@ for p in dvd vcd mms; do
|
||||
echo "removing $p input plugin..."
|
||||
# Remove sources
|
||||
for sourcefile in `awk '/^xineplug_inp_'$p'_la_SOURCES/ { $1=""; $2=""; print $0}' src/input/Makefile.am`; do
|
||||
if [ "`grep -c $sourcefile src/input/Makefile.am`" -le 1 ]; then # if this file is only used for this plugin
|
||||
if [ "`grep -v '^EXTRA_DIST = ' src/input/Makefile.am | grep -c $sourcefile`" -le 1 ]; then # if this file is only used for this plugin
|
||||
rm -f src/input/$sourcefile
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user