This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Support DESTDIR
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GDB <gdb-patches at sources dot redhat dot com>
- Date: Mon, 04 Aug 2003 10:14:43 -0400
- Subject: Re: PATCH: Support DESTDIR
- References: <20030731220953.GA18365@lucon.org>
Hmm, which of these is correct:
- $(SHELL) $(srcdir)/../../mkinstalldirs $(infodir)
+ $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)/$(infodir)
- $(INSTALL_DATA) $$i $(htmldir)/$$i ; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; \
(the slash)?
> + $(mkinstalldirs) $(DESTDIR)$(infodir)
Please keep the mkinstalldirs consistent with the rest of GDB vis:
$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$infodir)
The addition of mkinstalldirs should be mentioned in the ChangeLog.
Andrew