X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=signature_stuff%2FMakefile;h=925ae97340a5226cabea8d7f8bc41f9977ae623e;hb=f05bfc5994ac3b2b86cddedc0d4e90d8d56eecdc;hp=bef1532c1e50c742ef44a460ac817f4fa5ffcdb2;hpb=2815d7ed754a1632c7fb1e5e4f18557661ee7fc7;p=lib.git diff --git a/signature_stuff/Makefile b/signature_stuff/Makefile index bef1532..925ae97 100644 --- a/signature_stuff/Makefile +++ b/signature_stuff/Makefile @@ -1,7 +1,9 @@ -all: $(patsubst %.txt,%.txt.dat,$(wildcard *.txt)) +all: $(foreach file,$(filter-out %sigtemplate.txt,$(wildcard *.txt)),$(file).dat) + +STRFILE=$(shell if which strfile >/dev/null 2>&1; then which strfile; else echo touch -r; fi) %.txt.dat: %.txt - strfile $< $@ + $(STRFILE) $< $@ -.PHONY: all \ No newline at end of file +.PHONY: all