This commit is contained in:
Mattia Basaglia 2014-12-21 19:17:07 +01:00
parent de1fbf6c5d
commit b4273a4bed

View file

@ -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 {} \;