From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id DB7433832367; Mon, 14 Nov 2022 16:00:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB7433832367 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668441602; bh=VMYFs7fTpYIJKJVpujE7KILpAo31c0CHXFaZUy7BVts=; h=From:To:Subject:Date:From; b=fjsoPWLwzfx2q3Ft0T2BsLrOpMrTgub7nw4jKZ1zZ2jhpr1w8x2P/Q/uNNTZxeP0e q3tejgE49u8un5aq5vY0SZ3AutwqTqj1lTGuS9kDWavfL0A3bLGarIbTz2FuRi2ZAV dUPN1CWES+kCO66W6l/THJ+WZCKda0TwNfjS1V3c= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-4023] libstdc++: Fix installation of python files for debug lib X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 23a121d495ea0d2c423afcc1305c23acc7379397 X-Git-Newrev: 2b85d759dae79c930abe8118e1102ecb673b74aa Message-Id: <20221114160002.DB7433832367@sourceware.org> Date: Mon, 14 Nov 2022 16:00:02 +0000 (GMT) List-Id: https://gcc.gnu.org/g:2b85d759dae79c930abe8118e1102ecb673b74aa commit r13-4023-g2b85d759dae79c930abe8118e1102ecb673b74aa Author: Jonathan Wakely Date: Mon Nov 14 10:37:58 2022 +0000 libstdc++: Fix installation of python files for debug lib libstdc++-v3/ChangeLog: * python/Makefile.am (install-data-local): Use mkdirs_p for debug libdir. * python/Makefile.in: Regenerate. Diff: --- libstdc++-v3/python/Makefile.am | 1 + libstdc++-v3/python/Makefile.in | 1 + 2 files changed, 2 insertions(+) diff --git a/libstdc++-v3/python/Makefile.am b/libstdc++-v3/python/Makefile.am index f523d3a44dc..df6bf508210 100644 --- a/libstdc++-v3/python/Makefile.am +++ b/libstdc++-v3/python/Makefile.am @@ -62,5 +62,6 @@ install-data-local: gdb.py $(INSTALL_DATA) gdb.py $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py ; \ if [ -n "$(debug_gdb_py)" ]; then \ sed "/^libdir = /s;'$$;/debug';" gdb.py > debug-gdb.py ; \ + $(mkdir_p) $(DESTDIR)$(toolexeclibdir)/debug ; \ $(INSTALL_DATA) debug-gdb.py $(DESTDIR)$(toolexeclibdir)/debug/$$libname-gdb.py ; \ fi diff --git a/libstdc++-v3/python/Makefile.in b/libstdc++-v3/python/Makefile.in index 05e79b5ac1e..c527e6cf186 100644 --- a/libstdc++-v3/python/Makefile.in +++ b/libstdc++-v3/python/Makefile.in @@ -627,6 +627,7 @@ install-data-local: gdb.py $(INSTALL_DATA) gdb.py $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py ; \ if [ -n "$(debug_gdb_py)" ]; then \ sed "/^libdir = /s;'$$;/debug';" gdb.py > debug-gdb.py ; \ + $(mkdir_p) $(DESTDIR)$(toolexeclibdir)/debug ; \ $(INSTALL_DATA) debug-gdb.py $(DESTDIR)$(toolexeclibdir)/debug/$$libname-gdb.py ; \ fi