diff options
author | K. Richard Pixley <rich@cygnus> | 1991-11-08 00:14:07 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-11-08 00:14:07 +0000 |
commit | 84396dcf349473f563066f2269c11bda7aef9f78 (patch) | |
tree | 9942277506c43cb7e8c5b64fb41728d1086669bb /binutils/Makefile.in | |
parent | 51e2358ba9ddd3cc561e3db302eedc679ff710b8 (diff) | |
download | gdb-84396dcf349473f563066f2269c11bda7aef9f78.zip gdb-84396dcf349473f563066f2269c11bda7aef9f78.tar.gz gdb-84396dcf349473f563066f2269c11bda7aef9f78.tar.bz2 |
install man pages too
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r-- | binutils/Makefile.in | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 1830633..316ce81 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -20,7 +20,11 @@ #$Id$ srcdir = . -destdir = /usr/local + +ddestdir = /usr/local +idestdir = $(ddestdir) + +SHELL = /bin/sh # Distribution version VERSION=1.91 @@ -28,12 +32,15 @@ VERSION=1.91 DIST_NAME=binutils-beta-${VERSION} version=`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion` -prefix = $(destdir) +prefix = $(ddestdir) bindir = $(prefix)/bin +mandir = $(idestdir)/man # Where to find texinfo.tex to format docn with TeX TEXIDIR = $(srcdir)/../texinfo/fsf +MANPAGES= ar.1 nm.1 objdump.1 ranlib.1 size.1 strip.1 + #INSTALL = install -c #INSTALL_PROGRAM = $(INSTALL) #INSTALL_FILE = $(INSTALL) @@ -220,6 +227,10 @@ install: $(PROGS) cp $$i $(bindir)/$$i.new ; \ mv -f $(bindir)/$$i.new $(bindir)/$$i ; \ done + for i in $(MANPAGES) ; do \ + cp $(srcdir)/$$i $(mandir)/man1/$$i.new ; \ + mv -f $(mandir)/man1/$$i.new $(mandir)/man1/$$i ; \ + done dist: $(DIST_NAME).tar.Z |