summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-07 04:02:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-07 04:02:10 +0000
commit0de960cd5b53337e7073047f41a8afe0113aface (patch)
tree35acf7b2f06f36ac30efa572ff35042c9f85a968 /gnu/usr.bin/binutils/ld
parentcb486f10ba5d2739f11d8014f42b3e6571c0f6c3 (diff)
man page fixes from niklas
Diffstat (limited to 'gnu/usr.bin/binutils/ld')
-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=. ; \