summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/ld/Makefile.in')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.in b/gnu/usr.bin/binutils/ld/Makefile.in
index 69c471de422..42e66f2a2bb 100644
--- a/gnu/usr.bin/binutils/ld/Makefile.in
+++ b/gnu/usr.bin/binutils/ld/Makefile.in
@@ -171,6 +171,10 @@ CXX_FOR_TARGET = ` \
# install.
LD_PROG = ld.new
+# Target to use for installing unformatted man-pages. Some systems may not
+# want them installed.
+INSTALL_MAN = install-man
+
all: $(LD_PROG)
.PHONY: all
@@ -918,9 +922,8 @@ TAGS:
etags -t $(srcdir)/*.[chly] *.[chly]
-install:
+install: $(INSTALL_MAN)
$(INSTALL_XFORM) ld.new $(bindir)/ld
- $(INSTALL_XFORM1) $(srcdir)/ld.1 $(man1dir)/ld.1
for f in ldscripts/*; do \
$(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
done
@@ -931,6 +934,9 @@ install:
ln $(bindir)/$$n $(tooldir)/bin/ld >/dev/null 2>/dev/null \
|| $(INSTALL_PROGRAM) ld.new $(tooldir)/bin/ld
+install-man:
+ $(INSTALL_XFORM1) $(srcdir)/ld.1 $(man1dir)/ld.1
+
install-info: ld.info
if [ -r ld.info ]; then \
dir=. ; \