Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* PATCH: PR gdb/10649: GDB_DATADIR_PATH is used, but never defined
@ 2009-09-16 21:52 H.J. Lu
  2009-10-02  2:12 ` Doug Evans
  2009-10-02  2:38 ` Sérgio Durigan Júnior
  0 siblings, 2 replies; 4+ messages in thread
From: H.J. Lu @ 2009-09-16 21:52 UTC (permalink / raw)
  To: GDB

Hi,

I am checking in this patch as an obvious fix.

Thanks.


H.J.
---
2009-09-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR gdb/10649
	* Makefile.in (GDB_DATADIR_PATH): Renamed to ...
	(GDB_DATADIR): This.
	(xml-syscall-install): Updated.

--- ./Makefile.in.foo	2009-09-16 14:07:50.000000000 -0700
+++ ./Makefile.in	2009-09-16 14:47:17.000000000 -0700
@@ -167,7 +167,7 @@ TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT
 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
 
 # Did the user give us a --with-gdb-datadir option?
-GDB_DATADIR_PATH = @GDB_DATADIR_PATH@
+GDB_DATADIR = @GDB_DATADIR@
 
 # Helper code from gnulib.
 LIBGNU = gnulib/libgnu.a
@@ -899,13 +899,13 @@ xml-syscall-copy:
 .PHONY: xml-syscall-install
 xml-syscall-install:
 	$(SHELL) $(srcdir)/../mkinstalldirs \
-		$(DESTDIR)$(GDB_DATADIR_PATH)/$(XML_SYSCALLS_DIR) ; \
+		$(DESTDIR)$(GDB_DATADIR)/$(XML_SYSCALLS_DIR) ; \
 	list='$(XML_SYSCALLS_FILES)' ; \
 	for file in $$list ; do \
 	  f=$(srcdir)/$(XML_SYSCALLS_DIR)/$$file ; \
 	  if test -f $$f ; then \
 	    $(INSTALL_DATA) $$f \
-	    	$(DESTDIR)$(GDB_DATADIR_PATH)/$(XML_SYSCALLS_DIR) ; \
+	    	$(DESTDIR)$(GDB_DATADIR)/$(XML_SYSCALLS_DIR) ; \
 	  fi ; \
 	done ;
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-02 22:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-16 21:52 PATCH: PR gdb/10649: GDB_DATADIR_PATH is used, but never defined H.J. Lu
2009-10-02  2:12 ` Doug Evans
2009-10-02 22:08   ` Joel Brobecker
2009-10-02  2:38 ` Sérgio Durigan Júnior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox