From b4273a4bedb920dc061e86ccffb9ff8b1457c30c Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Sun, 21 Dec 2014 19:17:07 +0100 Subject: [PATCH] touchput --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8d28e30..7c416e3 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ REMOVE_DIR=$(foreach d, $(1), [ -d $(d) ] && rmdir $(d) || true;) MAKE_DIR=mkdir -p # NOTE: not .PONY :-P -.PHONY: all show show_deps clean list random install uninstall +.PHONY: all show show_deps clean list random install uninstall touchput all: $(OUT_ALL) @@ -113,3 +113,7 @@ uninstall: $(UNINSTALL_DIR) $(DATADIR) $(UNINSTALL_FILE) $(BINDIR)/systempony $(call REMOVE_DIR, $(DATADIR) $(DATAROOT) $(BINDIR)) + +#touch output files to avoid re-generations (eg: after cloning) +touchput: + find $(MAKEFILE_DIR)rendered -exec touch {} \;