From: Ralf Wildenhues Date: Wed, 30 Apr 2008 16:43:08 +0000 (+0000) Subject: Makefile.am (install-headers): Cope with empty parallel_headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9eec643d3658e78737ec8078ce5d0726a19dbe37;p=gcc.git Makefile.am (install-headers): Cope with empty parallel_headers. libstdc++-v3/ * include/Makefile.am (install-headers): Cope with empty parallel_headers. * include/Makefile.in: Regenerate. From-SVN: r134829 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9430c9cf941..47a50e201aa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2008-04-30 Ralf Wildenhues + + * include/Makefile.am (install-headers): Cope with empty + parallel_headers. + * include/Makefile.in: Regenerate. + 2008-04-29 Benjamin Kosnik * include/bits/c++config: Remove space between '#' and 'undef' for diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am index 22ac39c436b..a867f009c3a 100644 --- a/libstdc++-v3/include/Makefile.am +++ b/libstdc++-v3/include/Makefile.am @@ -1196,8 +1196,10 @@ install-headers: $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir} for file in ${debug_headers}; do \ $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done - $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir} - for file in ${parallel_headers}; do \ + parallel_headers_install='${parallel_headers}';\ + test -z "$$parallel_headers_install" || \ + $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir};\ + for file in $$parallel_headers_install; do \ $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${parallel_builddir}; done $(mkinstalldirs) $(DESTDIR)${host_installdir} for file in ${host_headers} ${host_headers_extra} \ diff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in index 61fa83ec812..f2ab8fa2046 100644 --- a/libstdc++-v3/include/Makefile.in +++ b/libstdc++-v3/include/Makefile.in @@ -1584,8 +1584,10 @@ install-headers: $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir} for file in ${debug_headers}; do \ $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done - $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir} - for file in ${parallel_headers}; do \ + parallel_headers_install='${parallel_headers}';\ + test -z "$$parallel_headers_install" || \ + $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir};\ + for file in $$parallel_headers_install; do \ $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${parallel_builddir}; done $(mkinstalldirs) $(DESTDIR)${host_installdir} for file in ${host_headers} ${host_headers_extra} \