about summary refs log tree commit diff
path: root/Src/Makefile.in
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-08 16:22:24 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-08 16:22:24 +0000
commit31ace3492324d1bcae673f60b80b0314cbe8d63c (patch)
treeed8c48f54688580817b071c571c5e4344417fc17 /Src/Makefile.in
parentb4e58a378bebc36f5426a48af448bcc14cf7150e (diff)
downloadzsh-31ace3492324d1bcae673f60b80b0314cbe8d63c.tar.gz
zsh-31ace3492324d1bcae673f60b80b0314cbe8d63c.tar.xz
zsh-31ace3492324d1bcae673f60b80b0314cbe8d63c.zip
zsh-workers/8950
Diffstat (limited to 'Src/Makefile.in')
-rw-r--r--Src/Makefile.in30
1 files changed, 13 insertions, 17 deletions
diff --git a/Src/Makefile.in b/Src/Makefile.in
index f99e2c965..7ad9dc918 100644
--- a/Src/Makefile.in
+++ b/Src/Makefile.in
@@ -68,7 +68,7 @@ ZSH_NXPORT =
 ENTRYOBJ   = modentry..o
 NNTRYOBJ   =
 
-LDRUNPATH = LD_RUN_PATH=$(libdir)/zsh
+LDRUNPATH = LD_RUN_PATH=$(libdir)/$(tzsh)
 NDRUNPATH =
 
 zsh: $(@L@IBZSH) $(@L@STMP) $(MAIN_OBJS) zsh.export
@@ -150,8 +150,6 @@ ansi2knr: ansi2knr.o
 
 # ========== DEPENDENCIES FOR INSTALLING ==========
 
-transform = @program_transform_name@
-
 install: install.bin install.modules
 uninstall: uninstall.bin uninstall.modules
 
@@ -161,29 +159,27 @@ uninstall.bin: uninstall.bin-here
 # install binary, creating install directory if necessary
 install.bin-here: zsh install.bin-@L@
 	$(sdir_top)/mkinstalldirs $(DESTDIR)$(bindir)
-	tzsh=`echo zsh | sed '$(transform)'`; \
-	$(INSTALL_PROGRAM) $(STRIPFLAGS) zsh $(DESTDIR)$(bindir)/$$tzsh-$(VERSION) && \
-	if test -f $(DESTDIR)$(bindir)/$$tzsh; then \
-	    rm -f $(DESTDIR)$(bindir)/$$tzsh.old; \
-	    $(LN) $(DESTDIR)$(bindir)/$$tzsh $(DESTDIR)$(bindir)/$$tzsh.old; \
-	else :; fi && \
-	rm -f $(DESTDIR)$(bindir)/$$tzsh.new && \
-	$(LN) $(DESTDIR)$(bindir)/$$tzsh-$(VERSION) $(DESTDIR)$(bindir)/$$tzsh.new && \
-	mv $(DESTDIR)$(bindir)/$$tzsh.new $(DESTDIR)$(bindir)/$$tzsh
+	$(INSTALL_PROGRAM) $(STRIPFLAGS) zsh $(DESTDIR)$(bindir)/$(tzsh)-$(VERSION)
+	if test -f $(DESTDIR)$(bindir)/$(tzsh); then \
+	    rm -f $(DESTDIR)$(bindir)/$(tzsh).old; \
+	    $(LN) $(DESTDIR)$(bindir)/$(tzsh) $(DESTDIR)$(bindir)/$(tzsh).old; \
+	else :; fi
+	rm -f $(DESTDIR)$(bindir)/$(tzsh).new
+	$(LN) $(DESTDIR)$(bindir)/$(tzsh)-$(VERSION) $(DESTDIR)$(bindir)/$(tzsh).new
+	mv $(DESTDIR)$(bindir)/$(tzsh).new $(DESTDIR)$(bindir)/$(tzsh)
 
 install.bin-N:
 install.bin-L: $(LIBZSH)
-	$(sdir_top)/mkinstalldirs $(DESTDIR)$(libdir)/zsh
-	$(INSTALL_PROGRAM) $(LIBZSH) $(DESTDIR)$(libdir)/zsh/$(LIBZSH)
+	$(sdir_top)/mkinstalldirs $(DESTDIR)$(libdir)/$(tzsh)
+	$(INSTALL_PROGRAM) $(LIBZSH) $(DESTDIR)$(libdir)/$(tzsh)/$(LIBZSH)
 
 # uninstall binary
 uninstall.bin-here: uninstall.bin-@L@
-	tzsh=`echo zsh | sed '$(transform)'`; \
-	rm -f $(DESTDIR)$(bindir)/$$tzsh-$(VERSION) $(DESTDIR)$(bindir)/$$tzsh
+	rm -f $(DESTDIR)$(bindir)/$(tzsh)-$(VERSION) $(DESTDIR)$(bindir)/$(tzsh)
 
 uninstall.bin-N:
 uninstall.bin-L:
-	rm -f $(DESTDIR)$(libdir)/zsh/$(LIBZSH)
+	rm -f $(DESTDIR)$(libdir)/$(tzsh)/$(LIBZSH)
 
 # ========== DEPENDENCIES FOR CLEANUP ==========