From b060c81bb8a157c4cd1d3b7643c73e67f3831fbc Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 25 Jun 2019 13:23:14 +0200 Subject: [PATCH] Don't delete macuvs.h in extraclean * admin/unidata/Makefile.in (extraclean): Don't delete macuvs.h, because it's a checked-in file, and make targets altering checked-in files is confusing. --- admin/unidata/Makefile.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in index 8d439dcb7ce..9e74b854bd2 100644 --- a/admin/unidata/Makefile.in +++ b/admin/unidata/Makefile.in @@ -116,8 +116,11 @@ maintainer-clean: distclean ## 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 -- 2.39.5