Subject: bug#28169: 26.0.50; make versionclean deletes emacs-module.h.in

From: Sven Joachim <[email-masked]>
Date: Mon, 21 Aug 2017 09:06:42 +0200

Tags: patch

I ran "make -C src versionclean all" and found that
src/emacs-module.h.in was gone.  Commit 1b75af59b3 ("Fix emacs-module.h
cleaning") already handled the "make clean" case, but overlooked the
versionclean target, here is a patch for that:

diff --git a/src/Makefile.in b/src/Makefile.in
index 57969d5fc5..dde3f1d3fb 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -659,7 +659,7 @@ distclean:
 maintainer-clean: distclean
 	rm -f TAGS
 versionclean:
-	-rm -f emacs$(EXEEXT) emacs-*.*.*$(EXEEXT) ../etc/DOC*
+	-rm -f emacs$(EXEEXT) emacs-*.*.*[0-9]$(EXEEXT) ../etc/DOC*
 extraclean: distclean
 	-rm -f *~ \#*