From 4b5dcd0e692803e57b5fc83815a98f18b244a2d9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 25 Jan 2016 18:40:56 -0500 Subject: build: clean up .dwo files When building with -gsplit-dwarf, the generated dwo files are left behind even when you `make clean`. Fix that up. BUG=chromium:579384 TEST=`./configure CXXFLAGS='-O -gsplit-dwarf' && make && make clean` removes dwo files now R=mark@chromium.org Review URL: https://codereview.chromium.org/1633893002 . --- Makefile.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index e2d7734b..be1e5189 100644 --- a/Makefile.in +++ b/Makefile.in @@ -7728,7 +7728,8 @@ maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -mostlyclean-am: mostlyclean-compile mostlyclean-generic +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-local pdf: pdf-am @@ -7769,8 +7770,8 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \ install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ - recheck tags tags-am uninstall uninstall-am \ + mostlyclean-compile mostlyclean-generic mostlyclean-local pdf \ + pdf-am ps ps-am recheck tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-dist_docDATA \ uninstall-includecHEADERS uninstall-includeclHEADERS \ uninstall-includeclcHEADERS uninstall-includecldwcHEADERS \ @@ -7782,6 +7783,9 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \ .PRECIOUS: Makefile +mostlyclean-local: + -find src -name '*.dwo' -exec rm -f {} + + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: -- cgit v1.2.1