diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-02 12:38:53 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-02 12:38:53 +0000 |
commit | 1786db84fd94cf908ad6c52641fa194f4f0a2ece (patch) | |
tree | e97bc0cee6e6949bff195645612f6b83190d6422 /gnu/usr.bin/binutils/gprof | |
parent | 35d67eebed13d351279ad5d556dc04dafb068638 (diff) |
Make GNU style installation of manpages optional, like we do elsewhere.
Diffstat (limited to 'gnu/usr.bin/binutils/gprof')
-rw-r--r-- | gnu/usr.bin/binutils/gprof/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gprof/Makefile.in b/gnu/usr.bin/binutils/gprof/Makefile.in index a9bce7a3063..0fd09474fa0 100644 --- a/gnu/usr.bin/binutils/gprof/Makefile.in +++ b/gnu/usr.bin/binutils/gprof/Makefile.in @@ -51,6 +51,10 @@ OBJS= $(MY_TARGET).o basic_blocks.o bsd_callg_bl.o call_graph.o \ # Files that can be generated, but should be included in distribution. GEN_FILES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c +# Target to use for installing unformatted man-pages. Some systems may not +# want them installed. +INSTALL_MAN = install-man + CFLAGS=-g -DDEBUG LDFLAGS= HLDFLAGS = @HLDFLAGS@ @@ -99,8 +103,10 @@ install-info: gprof.info $(INSTALL_DATA) $$dir/$$i $(infodir)/$$i ; \ done -install: all +install: all $(INSTALL_MAN) $(INSTALL_XFORM) gprof $(bindir)/gprof + +install-man: $(INSTALL_XFORM1) $(srcdir)/gprof.1 $(man1dir)/gprof.1 gprof: $(OBJS) $(LIBDEPS) |