]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix installation of python files for debug lib
authorJonathan Wakely <jwakely@redhat.com>
Mon, 14 Nov 2022 10:37:58 +0000 (10:37 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 14 Nov 2022 15:59:50 +0000 (15:59 +0000)
libstdc++-v3/ChangeLog:

* python/Makefile.am (install-data-local): Use mkdirs_p for debug
libdir.
* python/Makefile.in: Regenerate.

libstdc++-v3/python/Makefile.am
libstdc++-v3/python/Makefile.in

index f523d3a44dc43e43b80190784220c6aa25e118bf..df6bf508210aa42a46fc55cf9cb8ce1b6610fddf 100644 (file)
@@ -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
index 05e79b5ac1ec0f78e477d9c7ecda92b76c08bee0..c527e6cf1866b74d38b39f1ac881c61772f4a542 100644 (file)
@@ -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