diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-02-28 13:06:50 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-02-28 13:06:50 +0000 |
commit | 1d7ca713bacb12a356b3b3de0f6a942eb3c085a1 (patch) | |
tree | ba38197ce3ff80d1936cdc49aeb860a1453257e3 /Makefile | |
parent | 2ae19553980ac99a8881445623f55cc8f153cce3 (diff) | |
download | external_llvm-1d7ca713bacb12a356b3b3de0f6a942eb3c085a1.zip external_llvm-1d7ca713bacb12a356b3b3de0f6a942eb3c085a1.tar.gz external_llvm-1d7ca713bacb12a356b3b3de0f6a942eb3c085a1.tar.bz2 |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -142,7 +142,19 @@ build-for-llvm-top: fi $(Verb) $(MAKE) tools-only -.PHONY: srpm rpm + + +SVN = svn +AWK = awk +SUB-SVN-DIRS = $(AWK) '/\? / {print $$2}' | xargs $(SVN) info 2>/dev/null | grep "Path: " | $(AWK) '{print $$2}' + +update: + $(SVN) update + @ $(SVN) status | $(SUB-SVN-DIRS) | xargs $(SVN) update + +happiness: update all check + +.PHONY: srpm rpm update happiness # declare all targets at this level to be serial: |