From 82df326680e889d2cc17434aee13e4c4f1c943dc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 1 Sep 2008 20:08:16 -0400 Subject: chess-auto.el is built properly now. --- Makefile.am | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 711161b..4d75345 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,12 +54,15 @@ dist_lisp_LISP = \ chess-var.el \ chess-eco.el -chess-auto.el: $(ELFILES) chess-auto.el.in - cp -p $(srcdir)/chess-auto.el.in $@ - -rm $(top_builddir)/chess-auto.elc - $(EMACS) --no-init-file --no-site-file -batch \ - -L $(top_builddir) -l chess-auto -f generate-autoloads \ +chess-auto.el: $(ELFILES) + echo ";;; DO NOT MODIFY THIS FILE" > $(top_builddir)/chess-auto.el + echo "(if (featurep 'chess-auto) (error \"Already loaded\"))" \ + >> $(top_builddir)/chess-auto.el + $(EMACS) -batch -L $(srcdir) -l chess-maint.el \ + -f chess-generate-autoloads \ $(top_builddir)/chess-auto.el $(srcdir) + echo "(provide 'chess-auto)" >> $(top_builddir)/chess-auto.el + ln -f $(top_builddir)/chess-auto.el $(top_builddir)/auto-autoloads.el chess-eco.fen: chess-eco.pos chess-eco.el $(EMACS) --no-init-file --no-site-file -batch \ -- cgit v1.2.3