diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,11 +1,9 @@ -DIRS = $(shell find . ! -name CVS -type d) SPECIAL = chess-auto.el -SOURCE = $(filter-out $(SPECIAL),$(shell find -name '*.el')) +SOURCE = $(filter-out $(SPECIAL),$(wildcard *.el)) TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE)) EMACS = emacs all: $(TARGET) - -rm subdirs.elc chess-auto.el: chess-auto.in $(SOURCE) cp chess-auto.in chess-auto.el @@ -13,10 +11,11 @@ chess-auto.el: chess-auto.in $(SOURCE) $(EMACS) --no-init-file --no-site-file -batch \ -l $(shell pwd)/chess-auto \ -f generate-autoloads \ - $(shell pwd)/chess-auto.el $(DIRS) + $(shell pwd)/chess-auto.el . %.elc: %.el $(EMACS) --no-init-file --no-site-file -batch \ + -l $(shell pwd)/chess-maint \ -f batch-byte-compile $< clean: |
