diff options
author | Glenn Morris <rgm@gnu.org> | 2021-04-04 09:19:24 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2021-04-04 09:19:24 -0700 |
commit | dd1aa7bc4ca6c1df1713ccac7c66e681d8444c21 (patch) | |
tree | a46340d06d52b771e8b642bc79b6a079cd65c028 /admin/charsets | |
parent | dd5ba88afbb63f54603cc632fc55993c04531a85 (diff) | |
download | emacs-dd1aa7bc4ca6c1df1713ccac7c66e681d8444c21.tar.gz emacs-dd1aa7bc4ca6c1df1713ccac7c66e681d8444c21.tar.bz2 emacs-dd1aa7bc4ca6c1df1713ccac7c66e681d8444c21.zip |
Make maintainer-clean delete generated files, as per standards
These are generated files that were once kept in the repository.
When they were removed from the repository, as a half-way measure
they were only deleted by "extraclean", but this was never
necessary and was not a proper use of that rule.
* admin/charsets/Makefile.in (gen-clean): New phony target.
(maintainer-clean): Delete generated files.
* admin/grammars/Makefile.in (gen-clean): New phony target.
(maintainer-clean): Delete generated files.
* admin/unidata/Makefile.in (gen-clean): New phony target.
(maintainer-clean): Delete generated files.
* leim/Makefile.in (gen-clean): New phony target.
(maintainer-clean): Delete generated files.
* GNUmakefile: Doc fix.
Diffstat (limited to 'admin/charsets')
-rw-r--r-- | admin/charsets/Makefile.in | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/admin/charsets/Makefile.in b/admin/charsets/Makefile.in index 1fe029984b8..00424843bc4 100644 --- a/admin/charsets/Makefile.in +++ b/admin/charsets/Makefile.in @@ -297,17 +297,19 @@ ${charsetdir}/%.map: ${GLIBC_CHARMAPS}/%.gz ${mapconv} ${compact} ${AM_V_GEN}${run_mapconv} $< '/^<.*[ ]\/x/' GLIBC-1 ${compact} > $@ -.PHONY: clean bootstrap-clean distclean maintainer-clean extraclean +.PHONY: clean bootstrap-clean distclean maintainer-clean extraclean gen-clean clean: +## IMO this should also run gen-clean. bootstrap-clean: clean distclean: clean rm -f Makefile -maintainer-clean: distclean - -## Do not remove these files, even in a bootstrap. They rarely change. -extraclean: +gen-clean: rm -f ${CHARSETS} ${SED_SCRIPT} ${TRANS_TABLE} ${srcdir}/charsets.stamp + +maintainer-clean: gen-clean distclean + +extraclean: maintainer-clean |