From 21d9e8f6b9e43624e7cca46f70a2d0075ebca848 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 31 May 2001 10:57:30 +0000 Subject: (get_needed_files): exit with error message if files from share/list (and share/list.ARCH) are missing --- perl-install/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install') diff --git a/perl-install/Makefile b/perl-install/Makefile index 50a751557..00f38dbad 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -60,6 +60,8 @@ get_needed_files: $(DIRS) # see also /usr/lib/perl5/5.00503/ARCH-linux/Data/Dumper.pm cat `../tools/specific_arch share/list` >> /tmp/list + @missing=`perl -lne 'print if !-e $$_' /tmp/list`; [ -n "$$missing" ] && { echo "missing files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$missing" ; echo "missing files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; } + find auto -follow -name "*.so" >> /tmp/list for i in $(LOCALFILES) `cat /tmp/list` ; do \ -- cgit v1.2.1