# HG changeset patch # User Glenn Morris # Date 1195271446 0 # Node ID f2795bb4bd1c74ab7fd198b145f89cb91ec92ea3 # Parent 23d002133396915585c1ee7f141f4c966a4b0694 (check-declare): New target. diff -r 23d002133396 -r f2795bb4bd1c Makefile.in --- 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) $@)