summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-08-08 17:30:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-08-08 17:30:37 +0000
commitc938e9b01dd1735e2cf1f55f65117f701de560cc (patch)
tree5c25ba497d5a2bb049b3c776c6951973a5e79970 /gdb/gdbserver
parentc04898f807516f8361a4ec6f55b984bdf0955f7e (diff)
downloadbinutils-gdb-c938e9b01dd1735e2cf1f55f65117f701de560cc.tar.gz
gdb/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. (install-only): Support DESTDIR. (uninstall): Likewise. (install-gdbtk): Likewise. gdb/doc/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-info): Support DESTDIR. (install-html): Likewise. gdb/gdbserver/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-only): Create dest dir. Support DESTDIR. (uninstall): Support DESTDIR. mmalloc/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-info): Create dest dir. Support DESTDIR. (install): Likewise.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/Makefile.in8
2 files changed, 10 insertions, 3 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 98c831280e2..42dab168db6 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.in (install-only): Create dest dir. Support DESTDIR.
+ (uninstall): Support DESTDIR.
+
Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy <blc@redhat.com>
* configure.srv: Add xscale*linux copy of arm*linux entry.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 80667f9c6ce..8554dae9afb 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -151,13 +151,15 @@ install: all install-only
install-only:
n=`echo gdbserver | sed '$(program_transform_name)'`; \
if [ x$$n = x ]; then n=gdbserver; else true; fi; \
- $(INSTALL_PROGRAM) gdbserver $(bindir)/$$n; \
- $(INSTALL_DATA) $(srcdir)/gdbserver.1 $(man1dir)/$$n.1
+ $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir); \
+ $(INSTALL_PROGRAM) gdbserver $(DESTDIR)$(bindir)/$$n; \
+ $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir); \
+ $(INSTALL_DATA) $(srcdir)/gdbserver.1 $(DESTDIR)$(man1dir)/$$n.1
uninstall: force
n=`echo gdbserver | sed '$(program_transform_name)'`; \
if [ x$$n = x ]; then n=gdbserver; else true; fi; \
- rm -f $(bindir)/$$n $(man1dir)/$$n.1
+ rm -f $(bindir)/$$n $(DESTDIR)$(man1dir)/$$n.1
installcheck:
check: