[4/4] Install gdb/fileio.h

Message ID 20180428011940.115515-5-julio@farjump.io
State New, archived
Headers

Commit Message

Julio Guerra April 28, 2018, 1:19 a.m. UTC
  Distribute this file to share File I/O protocol types with other programs using
them.

2018-04-28  Julio Guerra  <julio@farjump.io>

	* gdb/Makefile.in: add include/gdb/fileio.h to the installed data

Signed-off-by: Julio Guerra <julio@farjump.io>
---
 gdb/ChangeLog   | 4 ++++
 gdb/Makefile.in | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dc7f7cd8ac..4112cd4960 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2018-04-28  Julio Guerra  <julio@farjump.io>
+
+	* gdb/Makefile.in: add include/gdb/fileio.h to the installed data
+
 2018-04-28  Julio Guerra  <julio@farjump.io>
 
 	* include/gdb/fileio.h: explicit fixed-width integral File I/O protocol types.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 648f66d31d..4846f96969 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1738,7 +1738,8 @@  install-only: $(CONFIG_INSTALL)
 		$(INSTALL_PROGRAM) gdb$(EXEEXT) \
 			$(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
 		$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(includedir)/gdb ; \
-		$(INSTALL_DATA) jit-reader.h $(DESTDIR)$(includedir)/gdb/jit-reader.h
+		$(INSTALL_DATA) jit-reader.h $(DESTDIR)$(includedir)/gdb/jit-reader.h ; \
+		$(INSTALL_DATA) $(INCLUDE_DIR)/gdb/fileio.h $(DESTDIR)$(includedir)/gdb/fileio.h
 	if test "x$(HAVE_NATIVE_GCORE_TARGET)$(HAVE_NATIVE_GCORE_HOST)" != x; \
 	then \
 	  transformed_name=`t='$(program_transform_name)'; \