install man pages too
This commit is contained in:
parent
51e2358ba9
commit
84396dcf34
1 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue