diff options
author | Ryan Kavanagh <rak@debian.org> | 2017-02-25 18:04:18 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2017-02-25 18:04:18 -0500 |
commit | ecc754a49592c9804a4ecc61d8455e2e8a4cee74 (patch) | |
tree | 2666a39c2240a2846b328c5a3133c6a3e569e17d | |
parent | Update aliases (diff) |
Force the regeneration of local files
Diffstat (limited to '')
-rwxr-xr-x | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 $</* $@/ ) || rsync -a $< $@ @@ -266,4 +268,5 @@ diff: build diff -u build/$${file} ../$$file; \ done -.PHONY: build install clean verify merge udh emacsen diff +.FORCE: +.PHONY: build install clean verify merge udh emacsen diff .FORCE |