diff options
| author | John Wiegley <johnw@newartisans.com> | 2008-09-01 20:08:16 -0400 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2008-09-01 21:35:02 -0400 |
| commit | 82df326680e889d2cc17434aee13e4c4f1c943dc (patch) | |
| tree | f71b6cde258537c1f96e363b9ccf775f91fd4170 /Makefile.am | |
| parent | 8d899ce1af47b6ef0223ffd51ce77d5b56c39401 (diff) | |
chess-auto.el is built properly now.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 13 |
1 files changed, 8 insertions, 5 deletions
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 \ |
