]> git.donarmstrong.com Git - lib.git/blobdiff - signature_stuff/Makefile
flyspell is turned on in its own mode
[lib.git] / signature_stuff / Makefile
index 6fb65beb98cba2978ec3da5673a9a5a2df823f75..925ae97340a5226cabea8d7f8bc41f9977ae623e 100644 (file)
@@ -1,7 +1,7 @@
 
-all: $(patsubst %.txt,%.txt.dat,$(wildcard *.txt))
+all: $(foreach file,$(filter-out %sigtemplate.txt,$(wildcard *.txt)),$(file).dat)
 
-STRFILE=$(shell which strfile || echo touch -r)
+STRFILE=$(shell if which strfile >/dev/null 2>&1; then which strfile; else echo touch -r; fi)
 
 %.txt.dat: %.txt
        $(STRFILE) $< $@