Revision 24878,
783 bytes
checked in by geofft, 14 years ago
(diff) |
build-all: Build Maverick.
|
Rev | Line | |
---|
[24878] | 1 | suite := maverick |
---|
| 2 | psuite := lucid |
---|
[22944] | 3 | STAMPS := /afs/sipb.mit.edu/project/debathena/machines/awesome-build-server/stamps.$(suite) |
---|
[22687] | 4 | |
---|
| 5 | package = $(STAMPS)/$(1).done |
---|
| 6 | |
---|
| 7 | all: build-all |
---|
| 8 | |
---|
| 9 | deps.mk: gen-build-deps |
---|
[22944] | 10 | ./gen-build-deps $(psuite) > $@ |
---|
[22687] | 11 | include deps.mk |
---|
| 12 | |
---|
| 13 | build/%: $(call package,%) |
---|
| 14 | : |
---|
| 15 | |
---|
[23584] | 16 | $(call package,%): |
---|
[22687] | 17 | file=$$(mktemp -t 'stupid.XXXXXX') && \ |
---|
[22944] | 18 | echo "screen sh -c '$(CURDIR)/do-build $* $(STAMPS)/$* $(suite) $(psuite)'" > "$$file" && \ |
---|
[22687] | 19 | echo "other" >> "$$file" && \ |
---|
| 20 | screen -X source "$$file" && \ |
---|
[24418] | 21 | sleep 2 && \ |
---|
[22952] | 22 | rm -f "$$file" |
---|
[22687] | 23 | [ -e $(STAMPS)/$*.started ] |
---|
| 24 | while ! [ -e $(STAMPS)/$*.done ] && ! [ -e $(STAMPS)/$*.error ]; do sleep 1; done |
---|
| 25 | rm -f $(STAMPS)/$*.started |
---|
| 26 | rm -f $(STAMPS)/$*.error |
---|
| 27 | [ -e $(STAMPS)/$*.done ] |
---|
| 28 | |
---|
| 29 | clean: |
---|
| 30 | rm -f deps.mk $(STAMPS)/*.started $(STAMPS)/*.error |
---|
Note: See
TracBrowser
for help on using the repository browser.