diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-05-05 23:24:33 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-05-05 23:24:33 +0000 |
commit | 8afeb6eef00c20ebe3eadddbe37d78308592cae5 (patch) | |
tree | 1827461e7f19943393128afc922a502a2498873a | |
parent | 5e540094531e746b14b8c4aa7b71b727fa37b6e8 (diff) | |
download | gdb-8afeb6eef00c20ebe3eadddbe37d78308592cae5.zip gdb-8afeb6eef00c20ebe3eadddbe37d78308592cae5.tar.gz gdb-8afeb6eef00c20ebe3eadddbe37d78308592cae5.tar.bz2 |
(install-info): Check for gprof.info in build dir, fall back to srcdir. Depend
on it.
-rw-r--r-- | gprof/Makefile.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in index c6f6e3c..f7b7a0d 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -75,9 +75,14 @@ dvi: gprof.dvi check: installcheck: -install-info: - for i in *.info* ; do \ - $(INSTALL_DATA) $$i $(infodir)/$$i ; \ +install-info: gprof.info + if [ -r gprof.info ]; then \ + dir=. ; \ + else \ + dir=$(srcdir) ; \ + fi ; \ + for i in `cd $$dir; echo gprof.info*` ; do \ + $(INSTALL_DATA) $$dir/$$i $(infodir)/$$i ; \ done install: |