diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-12-20 19:47:46 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-12-20 19:47:46 +0000 |
commit | 425dd86234b638a36950e36130df2589c1180ac4 (patch) | |
tree | d987a012819e061432f8112f0d170ec23e0d0d38 /perl-install/Makefile | |
parent | 9f02f30dccf6806029ed5b881130f0644939f547 (diff) | |
download | drakx-425dd86234b638a36950e36130df2589c1180ac4.tar drakx-425dd86234b638a36950e36130df2589c1180ac4.tar.gz drakx-425dd86234b638a36950e36130df2589c1180ac4.tar.bz2 drakx-425dd86234b638a36950e36130df2589c1180ac4.tar.xz drakx-425dd86234b638a36950e36130df2589c1180ac4.zip |
list files changes for gtk2 (is that really optimal to have utf8.pm and utf8_heavy.pl?)
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r-- | perl-install/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile index e5f04c445..c885d928e 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -83,9 +83,11 @@ get_needed_files: $(DIRS) $(MOFILES) # export PERL_INSTALL_TEST=1 ; strace -f -e trace=file -o '| grep -v "(No such file or directory)" | sed -e "s/[^\"]*\"//" -e "s/\".*//" | grep "^/" | grep -v -e "^/tmp" -e "^/home" -e "^/proc" -e "^/var" -e "^/dev" -e "^/etc" -e "^/usr/lib/rpm" > /tmp/list ' $(PERL) -d install2 < /dev/null eval `perl -V:version`; \ cat share/list `../tools/specific_arch share/list` | \ - perl -pe "s/ARCH/$(ARCH)/g ; s/PERL_VERSION/$$version/g ; s|/LIB/|/$(LIB)/|g" > /tmp/list + perl -pe "s/ARCH/$(ARCH)/g ; s/PERL_VERSION/$$version/g ; s|/LIB/|/$(LIB)/|g " | \ + perl -pe 'if (/\*/) { @l = glob; @l == 1 and $$_ = "$$l[0]\n" } ' > /tmp/list + rpm -ql perl-GTK2 | grep '^/usr/lib' >> /tmp/list - @missing=`perl -lne 'print if !-e $$_' /tmp/list`; [ -z "$$missing" ] || { echo "missing files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$missing" ; echo "missing files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; } + @missing=`perl -lne 'print if !-e $$_' /tmp/list`; [ -z "$$missing" ] || { echo "missing or multiple files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$missing" ; echo "missing or multiple files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; } find auto -follow -name "*.so" >> /tmp/list @@ -140,7 +142,7 @@ endif fi; \ fi; \ done - mv -f $(DEST)/$(LIB)/libimlib-png.so $(DEST)/usr/$(LIB) + perl -pi -e 's/\s*use\s+(warnings|diagnostics|vars|strict).*//g' $(DEST)/usr/*/*/*/utf8_heavy.pl mv -f $(DEST)/bin/* $(DEST)/sbin/* $(DEST)/usr/bin cd $(DEST)/usr/bin ; mv insmod insmod_ |