## Do not remove these files, even in a bootstrap, because they rarely
## change and it slows down bootstrap (a tiny bit).
## Cf leim/ja-dic (which is much slower).
-## Also, removing macuvs.h would mean that macOS builds would need
-## to do a headless bootstrap, which is currently awkward.
+
+## macuvs.h is a generated file, but it's also checked in because
+## macOS builds would need to do a headless bootstrap without it,
+## which is currently awkward. To avoid changing checked-in files
+## from a make target, we don't delete it here.
extraclean: distclean
- rm -f ${top_srcdir}/src/macuvs.h ${unidir}/charscript.el*
+ rm -f ${unidir}/charscript.el*
rm -f ${unifiles} ${unidir}/charprop.el