PR plugins/61176
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Mar 2015 05:31:57 +0000 (05:31 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Mar 2015 05:31:57 +0000 (05:31 +0000)
* Makefile.in (install-plugin): Add all gcc/*.{h,def} files
automatically to $headers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221786 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index 242eb50..23213ee 100644 (file)
@@ -1,3 +1,9 @@
+2015-03-31  Jakub Jelinek  <jakub@redhat.com>
+
+       PR plugins/61176
+       * Makefile.in (install-plugin): Add all gcc/*.{h,def} files
+       automatically to $headers.
+
 2015-03-30  Jakub Jelinek  <jakub@redhat.com>
 
        PR ipa/65610
index f924fb8..4ab7405 100644 (file)
@@ -3255,7 +3255,7 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype
 # We keep the directory structure for files in config or c-family and .def
 # files. All other files are flattened to a single directory.
        $(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
-       headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`; \
+       headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \
        srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
        for file in $$headers; do \
          if [ -f $$file ] ; then \