summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-07-13 12:15:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-07-13 12:15:44 +0000
commit7a0f1c3eea57413de17756e30eece4018224dec2 (patch)
treef27e7e991f11078943e5340c04952e53c8246f02 /perl-install/Makefile
parent5d7866bc867a4a048d9e917a7d26e9189feacd0d (diff)
downloaddrakx-backup-do-not-use-7a0f1c3eea57413de17756e30eece4018224dec2.tar
drakx-backup-do-not-use-7a0f1c3eea57413de17756e30eece4018224dec2.tar.gz
drakx-backup-do-not-use-7a0f1c3eea57413de17756e30eece4018224dec2.tar.bz2
drakx-backup-do-not-use-7a0f1c3eea57413de17756e30eece4018224dec2.tar.xz
drakx-backup-do-not-use-7a0f1c3eea57413de17756e30eece4018224dec2.zip
no_comment
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile30
1 files changed, 14 insertions, 16 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 0c4226668..299a34b85 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -88,22 +88,20 @@ ifeq (sparc,$(ARCH))
endif
for i in `cat /tmp/list`; do \
- if [ -e $$i ]; then \
- if (echo $$i | grep -q "lib/[^/]*\.so"); then \
- install -s $$i $(DEST)/lib; \
- else \
- d=$$i; \
- (echo $$d | grep -q "^[^/]") && d="$(REP4PMS)/$$d"; \
- d=`echo $(DEST)/$$d | sed 's/\/usr\/local\//\/usr\//'`; \
- install -d `dirname $$d` && \
- if (echo $$i | grep -q "\.pm"); then \
- perl -pe '$$_ =~ /^__END__/ and exit(0);' $$i > $$d; \
- elif (echo $$i | grep -q "\.so"); then \
- install -s $$i $$d; \
- else \
- cp -f $$i $$d; \
- fi; \
- fi; \
+ if (echo $$i | grep -q "lib/[^/]*\.so"); then \
+ install -s $$i $(DEST)/lib; \
+ else \
+ d=$$i; \
+ (echo $$d | grep -q "^[^/]") && d="$(REP4PMS)/$$d"; \
+ d=`echo $(DEST)/$$d | sed 's/\/usr\/local\//\/usr\//'`; \
+ install -d `dirname $$d` && \
+ if (echo $$i | grep -q "\.pm"); then \
+ perl -pe '$$_ =~ /^__END__/ and exit(0);' $$i > $$d; \
+ elif (echo $$i | grep -q "\.so"); then \
+ install -s $$i $$d; \
+ else \
+ cp -f $$i $$d; \
+ fi; \
fi; \
done
mv -f $(DEST)/lib/libimlib-png.so $(DEST)/usr/lib