public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-7815] Fix installation of the jit header files
@ 2021-03-24 12:28 Matthias Klose
0 siblings, 0 replies; only message in thread
From: Matthias Klose @ 2021-03-24 12:28 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:70b738f96812c369b836d9a5bc5472f4634518bb
commit r11-7815-g70b738f96812c369b836d9a5bc5472f4634518bb
Author: Matthias Klose <doko@ubuntu.com>
Date: Wed Mar 24 12:28:21 2021 +0000
Fix installation of the jit header files
gcc/jit/
2021-03-24 Matthias Klose <doko@ubuntu.com>
* Make-lang.in (jit.sphinx.html, jit.sphinx.pdf): Use $(mkinstalldirs),
(jit.install-headers): Depend on installdirs.
Diff:
---
gcc/jit/Make-lang.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/jit/Make-lang.in b/gcc/jit/Make-lang.in
index f9b0df850bd..663772aba63 100644
--- a/gcc/jit/Make-lang.in
+++ b/gcc/jit/Make-lang.in
@@ -249,7 +249,7 @@ jit.texinfo.install-pdf: doc/libgccjit.pdf
SPHINX_BUILD_DIR=jit/sphinx-build
jit.sphinx.html:
- mkdir -p $(SPHINX_BUILD_DIR)
+ $(mkinstalldirs) $(SPHINX_BUILD_DIR)
(cd $(srcdir)/jit/docs && \
make html BUILDDIR=$(PWD)/$(SPHINX_BUILD_DIR) )
@@ -270,7 +270,7 @@ jit.sphinx.install-html: jit.sphinx.html
# see https://bugzilla.redhat.com/show_bug.cgi?id=1148845 )
jit.sphinx.pdf: $(SPHINX_BUILD_DIR)/latex/libgccjit.pdf
$(SPHINX_BUILD_DIR)/latex/libgccjit.pdf:
- mkdir -p $(SPHINX_BUILD_DIR)
+ $(mkinstalldirs) $(SPHINX_BUILD_DIR)
(cd $(srcdir)/jit/docs && \
make latexpdf BUILDDIR=$(PWD)/$(SPHINX_BUILD_DIR) )
@@ -305,7 +305,7 @@ selftest-jit:
#\f
# Install hooks:
-jit.install-headers:
+jit.install-headers: installdirs
$(INSTALL_DATA) $(srcdir)/jit/libgccjit.h \
$(DESTDIR)$(includedir)/libgccjit.h
$(INSTALL_DATA) $(srcdir)/jit/libgccjit++.h \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-24 12:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24 12:28 [gcc r11-7815] Fix installation of the jit header files Matthias Klose
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).