From: Don Armstrong Date: Tue, 9 Feb 2016 17:22:58 +0000 (-0800) Subject: avoid building .dat from sigtemplate.txt files X-Git-Url: https://git.donarmstrong.com/?p=lib.git;a=commitdiff_plain;h=d50dee61238d747791121b820b5f37b06ae6bcad avoid building .dat from sigtemplate.txt files --- diff --git a/signature_stuff/Makefile b/signature_stuff/Makefile index 1c1676f..925ae97 100644 --- a/signature_stuff/Makefile +++ b/signature_stuff/Makefile @@ -1,5 +1,5 @@ -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)