From ecc754a49592c9804a4ecc61d8455e2e8a4cee74 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 25 Feb 2017 18:04:18 -0500 Subject: Force the regeneration of local files --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5d253b3..41ce867 100755 --- a/Makefile +++ b/Makefile @@ -129,6 +129,7 @@ all: clean build # This target relies on GLOBAL_FILES being before LOCAL_FILES so that the # build/LOCAL_FILES targets overwrite what was copied in GLOBAL_FILES. BUILD = $(patsubst %,build/%,$(GLOBAL_FILES) $(LOCAL_FILES) $(GPG_FILES)) +LOCALS = $(patsubst %,build/%,$(LOCAL_FILES)) build: $(BUILD) fonts build/bin/msmtp/msmtp-default @@ -164,6 +165,7 @@ build/bin/msmtp/msmtp-default: build/.msmtprc awk '/account/ { FNAME = "$(dir $@)/msmtp-"$$2; print "#!/bin/sh" > FNAME ; print "$(call get-val,MSMTP_PATH) -a " $$2 " \"$$@\"" >> FNAME }' $< chmod 755 build/bin/msmtp/* +$(LOCALS): .FORCE build/%: % $(SUBSTS_FILE) @[ -d $(dir $@) ] || mkdir -p $(dir $@) ( [ -d $< ] && rsync -a $