[patch] [libffi] do not install libffi library, headers and documentation

Matthias Klose <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.java.patches,gmane.comp.lib.ffi.general
Message-ID <[email protected]>
The libffi library, headers and documentation are still installed, although
libffi provides separate releases for a long time.  So do not install these
anymore as part of a GCC install.  Tested with a build and an install with go
and java enabled (both using libffi_convenience). Ok for the trunk?

  Matthias
noinst.diff (text/x-diff, 1.7 KB)
2013-02-12  Matthias Klose  <[email protected]>

	* Makefile.am: Do not install texinfo documentation and the
	libffi library.
	* include/Makefile.am: Do not install header files.
	* man/Makefile.am: Do not install man pages.
	* Makefile.in, include/Makefile.in, man/Makefile.in: Regenerate.

 
Index: Makefile.am
===================================================================
--- Makefile.am	(Revision 195973)
+++ Makefile.am	(Arbeitskopie)
@@ -49,7 +49,7 @@
 
 # Defines info, dvi, pdf and html targets
 MAKEINFOFLAGS = -I $(srcdir)/../gcc/doc/include
-info_TEXINFOS = doc/libffi.texi
+noinst_info_TEXINFOS = doc/libffi.texi
 
 # AM_CONDITIONAL on configure option --generated-files-in-srcdir
 if GENINSRC
@@ -130,8 +130,7 @@
 
 MAKEOVERRIDES=
 
-toolexeclib_LTLIBRARIES = libffi.la
-noinst_LTLIBRARIES = libffi_convenience.la
+noinst_LTLIBRARIES = libffi.la libffi_convenience.la
 
 libffi_la_SOURCES = src/prep_cif.c src/types.c \
 		src/raw_api.c src/java_raw_api.c src/closures.c
Index: include/Makefile.am
===================================================================
--- include/Makefile.am	(Revision 195973)
+++ include/Makefile.am	(Arbeitskopie)
@@ -9,4 +9,4 @@
 gcc_version   := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
 toollibffidir := $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
 
-toollibffi_HEADERS = ffi.h ffitarget.h
+noinst_HEADERS = ffi.h ffitarget.h
Index: man/Makefile.am
===================================================================
--- man/Makefile.am	(Revision 195973)
+++ man/Makefile.am	(Arbeitskopie)
@@ -4,5 +4,5 @@
 
 EXTRA_DIST = ffi.3 ffi_call.3 ffi_prep_cif.3 ffi_prep_cif_var.3
 
-man_MANS = ffi.3 ffi_call.3 ffi_prep_cif.3 ffi_prep_cif_var.3
+noinst_man_MANS = ffi.3 ffi_call.3 ffi_prep_cif.3 ffi_prep_cif_var.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.