Mercurial > hg > xemacs-beta
diff lisp/cc-mode/Makefile @ 169:15872534500d r20-3b11
Import from CVS: tag r20-3b11
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:46:53 +0200 |
parents | 5a88923fcbfe |
children |
line wrap: on
line diff
--- a/lisp/cc-mode/Makefile Mon Aug 13 09:45:48 2007 +0200 +++ b/lisp/cc-mode/Makefile Mon Aug 13 09:46:53 2007 +0200 @@ -8,8 +8,6 @@ PRELOADS = -l ./cc-vars.el -l ./cc-mode.el -l ./cc-menus.el -l ./cc-langs.el -SPECIAL_ELCS = custom-load.elc - .el.elc: $(EMACS) $(OPTS) $(PRELOADS) $(CMD) $< @@ -18,10 +16,15 @@ cc-engine.elc cc-langs.elc cc-menus.elc cc-mode.elc \ cc-styles.elc cc-vars.elc -all: $(ALL_ELCS) $(SPECIAL_ELCS) - -custom-load.elc: custom-load.el - $(EMACS) $(OPTS) $(CMD) $< +all: $(ALL_ELCS) clean: -rm $(ALL_ELCS) + +autoloads: auto-autoloads.el + +auto-autoloads.el: $(ALL_ELC:.elc=.el) + $(EMACS) -batch -q -no-site-file \ + -eval '(setq autoload-target-directory "'`pwd`'/")' \ + -l autoload \ + -f batch-update-autoloads $?