aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in14
1 files changed, 6 insertions, 8 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index fa0d4e5..8f914b6 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -22,8 +22,7 @@ srcdir = .
prefix = /usr/local
-program_prefix =
-program_suffix =
+program_transform_name =
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
@@ -441,12 +440,11 @@ install: $(LD_PROG)
-parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
-if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi
- -rm -f $(bindir)/$(program_prefix)ld$(program_suffix)
- $(INSTALL_PROGRAM) ld.new $(bindir)/$(program_prefix)ld$(program_suffix)
- -rm -f $(tooldir)/ld
- if [ -d $(tooldir) ]; then $(INSTALL_PROGRAM) ld.new $(tooldir)/ld; else true; fi
- -rm -f $(man1dir)/$(program_prefix)ld$(program_suffix).1
- $(INSTALL_DATA) $(srcdir)/ld.1 $(man1dir)/$(program_prefix)ld$(program_suffix).1
+ -n=`t='$(program_transform_name)'; echo ld | sed -e "" $$t`; \
+ rm -f $(bindir)/$$n; \
+ $(INSTALL_PROGRAM) ld.new $(bindir)/$$n; \
+ $(INSTALL_DATA) $(srcdir)/ld.1 $(man1dir)/$$n.1
+ -if [ -d $(tooldir) ]; then rm -f $(tooldir)/ld; $(INSTALL_PROGRAM) ld.new $(tooldir)/ld; else true; fi
install-info: info
-parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \