aboutsummaryrefslogtreecommitdiff
path: root/exp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'exp/Makefile')
-rw-r--r--exp/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/exp/Makefile b/exp/Makefile
index c2e2e3f..e7314bf 100644
--- a/exp/Makefile
+++ b/exp/Makefile
@@ -6,10 +6,11 @@ GITC := git -C $(REPO_PATH)
TEMP := temp
-.PHONY: all
-all: versions results
+.PHONY: all exp
+all exp: versions results
@echo "total size : `head --lines=1 results | cut -f1`"
@echo "version count : `wc -l versions`"
+ @echo "repo results :\n`cat results`"
versions: results
grep [0-9]$$ $< | cut -f1 > $@
@@ -18,8 +19,8 @@ results: | $(TEMP)
du -bad 2 $(TEMP) | sort -k2 > $@
$(TEMP): commits ../dna-backup
- rm -rf $(TEMP)
- ./exp.sh $< $(REPO_PATH) $(TEMP)
+ rm -rf $@
+ ./exp.sh $< $(REPO_PATH) $@
../dna-backup: .FORCE
@$(MAKE) -C .. --no-print-directory dna-backup