install man pages too
authorK. Richard Pixley <rich@cygnus>
Fri, 8 Nov 1991 00:14:07 +0000 (00:14 +0000)
committerK. Richard Pixley <rich@cygnus>
Fri, 8 Nov 1991 00:14:07 +0000 (00:14 +0000)
binutils/Makefile.in

index 1830633920aed7a7c6e919380eff6d05c752eca9..316ce81a1c754bad4e18b7d6554c8161bfb73633 100644 (file)
 #$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
 
This page took 0.024751 seconds and 4 git commands to generate.