changeset 86185:f2795bb4bd1c

(check-declare): New target.
author Glenn Morris <rgm@gnu.org>
date Sat, 17 Nov 2007 03:50:46 +0000
parents 23d002133396
children ac2525798700
files Makefile.in
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sat Nov 17 03:50:23 2007 +0000
+++ b/Makefile.in	Sat Nov 17 03:50:46 2007 +0000
@@ -811,3 +811,13 @@
 	-(cd doc/lispref &&   $(MAKE) $(MFLAGS) clean)
 	-(cd doc/lispintro &&   $(MAKE) $(MFLAGS) clean)
 	(cd leim;     $(MAKE) $(MFLAGS) clean)
+
+.PHONY: check-declare
+
+check-declare:
+	@if [ ! -e $(srcdir)/src/emacs ]; then \
+	  echo "You must build Emacs to use this command"; \
+	  exit 1; \
+	fi
+	(cd leim; $(MAKE) $(MFLAGS) $@)
+	(cd lisp; $(MAKE) $(MFLAGS) $@)