This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb-5.0/gdb/doc/Makefile.in patch


GNU gdb Maintainers,

   Here is a patch file to fix a bug in the 'install-info' target.  The
target does not work correctly if the debugger is being built in a
directory other than the source directory.  I think that the same bug
exists for the 'install-html' target, but I did not pursue this because
I did not find any .html files in the gdb distribution.

diff -u2 Makefile.in.orig Makefile.in
--- Makefile.in.orig	Wed May 17 07:54:04 2000
+++ Makefile.in	Tue Jun 20 12:24:48 2000
@@ -115,7 +115,8 @@
 install-info: info
 	$(SHELL) $(srcdir)/../../mkinstalldirs $(infodir)
+	(cd $(srcdir); \
 	for i in *.info* ; do \
 		$(INSTALL_DATA) $$i $(infodir)/$$i ; \
-	done
+	done)
 	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
 	  list='gdb.info gdbint.info stabs.info'; \

-- 
## Mark Harig
## Landmark Systems, Reston, Virginia, USA
## Email: mharig@landmark.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]