X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=blobdiff_plain;f=planetlab%2Fexp-tool%2FMakefile;h=ad56acc0fc0ee77a51b9185e6c83991fa5285e97;hp=d62a4c5c8c7f50f25d09fa7e49597cfc3906b375;hb=HEAD;hpb=591cb419cf3694e0ae66a95973e73c61bad9e03d diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index d62a4c5c8..ad56acc0f 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -486,7 +486,7 @@ cache/geocode.%: cache/loc.% $(CONF) cache/loc.%: $(CONF) @wget -O - 'http://freegeoip.net/csv/$(HOST_$*)' | \ - awk -F, '{ printf "%s, %s\n", $$8, $$9 }' > $@ + awk -F'", *"' '{ printf "\"%s\", \"%s\"\n", $$8, $$9 }' > $@ #################### # 'virtual' targets in that there's no real file attached @@ -604,3 +604,13 @@ $(foreach link,$(EXTERNAL_LINKS),cache/endpoint.$(link)@2): cache/endpoint.%@2: ./tunproxy -t $$(cat cache/host.$(call leftnode,$*)):$$(cat cache/port.$*@1) \ -p $(call default,EXTERNAL_PORT,$(call rightnode,$*)) -e -d +# reporting +.PHONY: report +report: + @echo SHELL=$(SHELL) + @echo "===> Configuration ($(CONF)):" + @cat $(CONF) + @for f in log/*; do \ + echo "===> Log file $$(basename $$f):"; \ + cat $$f; \ + done