Skip to content

Commit 4138f42

Browse files
committed
Revert "Merge #12870: make clean removes src/qt/moc_ files"
As noted by theuni and Sjors in #12870, qt moc cleaning is handled by CLEAN_QT via QT_MOC_CPP in Makefile.qt.include. In my testing I configured, built and cleaned with qt4 and qt5 both, absent the associated wildcard, and no MOC files were left after clean. Propose we revert the change and reconsider if a specific file is identified, then add that file to QT_MOC_CPP. This reverts commit 1d54004, reversing changes made to ad960f5.
1 parent 4cfe17c commit 4138f42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,5 +294,6 @@ clean-docs:
294294
rm -rf doc/doxygen
295295

296296
clean-local: clean-docs
297-
rm -rf coverage_percent.txt test_bitcoin.coverage/ total.coverage/ test/tmp/ cache/ $(OSX_APP) src/qt/moc_*
297+
rm -rf coverage_percent.txt test_bitcoin.coverage/ total.coverage/ test/tmp/ cache/ $(OSX_APP)
298298
rm -rf test/functional/__pycache__ test/functional/test_framework/__pycache__ test/cache
299+

0 commit comments

Comments
 (0)