summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-05-31 10:57:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-05-31 10:57:30 +0000
commit21d9e8f6b9e43624e7cca46f70a2d0075ebca848 (patch)
tree8ac22b8a663d2cf642d021716db2002607b22a76 /perl-install/Makefile
parent8e6ae422112f6d5d91eb616159d6d4e8b7a9142b (diff)
downloaddrakx-21d9e8f6b9e43624e7cca46f70a2d0075ebca848.tar
drakx-21d9e8f6b9e43624e7cca46f70a2d0075ebca848.tar.gz
drakx-21d9e8f6b9e43624e7cca46f70a2d0075ebca848.tar.bz2
drakx-21d9e8f6b9e43624e7cca46f70a2d0075ebca848.tar.xz
drakx-21d9e8f6b9e43624e7cca46f70a2d0075ebca848.zip
(get_needed_files): exit with error message if files from share/list (and
share/list.ARCH) are missing
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile2
1 files changed, 2 insertions, 0 deletions
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 \