1
我neeed到一個目錄中的所有文件TEX的aspell運行使用的makefilemakefile中的aspell乳膠與多個文件
spellcheck:
@aspell --lang=en -t -c sections/*tex
的aspell如不能處理多個文件不起作用。我怎樣才能一次又一次地運行多個aspell?
我neeed到一個目錄中的所有文件TEX的aspell運行使用的makefilemakefile中的aspell乳膠與多個文件
spellcheck:
@aspell --lang=en -t -c sections/*tex
的aspell如不能處理多個文件不起作用。我怎樣才能一次又一次地運行多個aspell?
做一個規則來運行的每個文件
TEX_FILES = $(wildcard sections/*.tex)
.PHONY: spellcheck
spellcheck: $(addsuffix .spchk,$(basename $(TEX_FILES)))
%.spchk: %.tex
@aspell --lang=en -t -c $<
檢查其是否makefile文件複製縮進上面的代碼時, – hlitz