llvm.org GIT mirror llvm / 1d7ca71
Now that targets are serialized, introduce two new convenience targets: - update: svn update toplevel and try hard to locate updatable subdirectories using cunning tricks - happiness: update then build and test so what one wants to do now is: nice gmake --jobs happiness Have fun! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47716 91177308-0d34-0410-b5e6-96231b3b80d8 Gabor Greif 11 years ago
1 changed file(s) with 13 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
141141 fi
142142 $(Verb) $(MAKE) tools-only
143143
144 .PHONY: srpm rpm
144
145
146 SVN = svn
147 AWK = awk
148 SUB-SVN-DIRS = $(AWK) '/\? / {print $$2}' | xargs $(SVN) info 2>/dev/null | grep "Path: " | $(AWK) '{print $$2}'
149
150 update:
151 $(SVN) update
152 @ $(SVN) status | $(SUB-SVN-DIRS) | xargs $(SVN) update
153
154 happiness: update all check
155
156 .PHONY: srpm rpm update happiness
145157
146158 # declare all targets at this level to be serial:
147159