# Makefile : Build vlc-contrib files
# ***************************************************************************
# Copyright (C) 2003 VideoLAN
-# $Id: Makefile,v 1.4 2003/11/23 13:23:20 massiot Exp $
+# $Id: Makefile,v 1.5 2003/11/23 14:00:25 massiot Exp $
#
# Authors: Christophe Massiot <massiot@via.ecp.fr>
#
./change_prefix.sh tmp @@CONTRIB_PREFIX@@ $(PREFIX)
(cd tmp; tar cf - .) | tar xf -
rm -rf tmp
+ ranlib lib/*\.a
clean-src: FORCE
$(MAKE) -C src clean-src
# change_prefix.sh : allow to transfer a contrib dir
# ***************************************************************************
# Copyright (C) 2003 VideoLAN
-# $Id: change_prefix.sh,v 1.2 2003/11/23 13:23:20 massiot Exp $
+# $Id: change_prefix.sh,v 1.3 2003/11/23 14:00:25 massiot Exp $
#
# Authors: Christophe Massiot <massiot@via.ecp.fr>
#
$file
fi
done
- else
+ elif test ".`file $file | grep text\|shell`" != "." ; then
sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp
mv -f $file.tmp $file
fi