summaryrefslogtreecommitdiffabout
path: root/libmu_scm
authorSergey Poznyakoff <gray@gnu.org.ua>2002-12-10 07:28:42 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2002-12-10 07:28:42 (GMT)
commit7441011067817147721b17695a379fe18897ef24 (patch) (side-by-side diff)
tree21ad1b75882991a2422797919d4768794821ed50 /libmu_scm
parenta48402065f11f933fdced9d4fadb2c3a9cf972da (diff)
downloadmailutils-7441011067817147721b17695a379fe18897ef24.tar.gz
mailutils-7441011067817147721b17695a379fe18897ef24.tar.bz2
Fixed install-data-hook. Thanks to Jordi Mallach.
Diffstat (limited to 'libmu_scm') (more/less context) (ignore whitespace changes)
-rw-r--r--libmu_scm/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/libmu_scm/Makefile.am b/libmu_scm/Makefile.am
index f757b56..ae35db6 100644
--- a/libmu_scm/Makefile.am
+++ b/libmu_scm/Makefile.am
@@ -66,7 +66,9 @@ mailutils.scm: mailutils.scm.in $(libmu_scm_la_SOURCES:.c=.inc)
MKDEP = $(CC) -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
install-data-hook:
- @if test -f $(DESTDIR)$(libdir)/libmu_scm.so; then \
- $(LN_S) -f $(DESTDIR)$(libdir)/libmu_scm.so \
- $(DESTDIR)$(libdir)/libguile-mailutils-v-$(VERSION).so; \
- fi
+ @here=`pwd`
+ cd $(DESTDIR)$(libdir);\
+ if test -f libmu_scm.so; then \
+ $(LN_S) -f libmu_scm.so libguile-mailutils-v-$(VERSION).so; \
+ fi; \
+ cd $$here

Return to:

Send suggestions and report system problems to the System administrator.