aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2017-02-25 18:04:18 -0500
committerRyan Kavanagh <rak@debian.org>2017-02-25 18:04:18 -0500
commitecc754a49592c9804a4ecc61d8455e2e8a4cee74 (patch)
tree2666a39c2240a2846b328c5a3133c6a3e569e17d /Makefile
parentUpdate aliases (diff)
Force the regeneration of local files
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile5
1 files changed, 4 insertions, 1 deletions
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 $</* $@/ ) || 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