diff options
| author | Francois Perrad <francois.perrad@gadz.org> | 2011-06-06 19:13:27 +0200 |
|---|---|---|
| committer | Francois Perrad <francois.perrad@gadz.org> | 2011-06-06 19:13:27 +0200 |
| commit | 979a4e0686d753019dca7d18611a9cd862d20eb7 (patch) | |
| tree | 0b79e9143d5c564568f8802ff43062ccf18c8f5d /services/googlemaps/Makefile | |
| parent | add Google Page Speed Online service (diff) | |
| download | api-description-979a4e0686d753019dca7d18611a9cd862d20eb7.tar.gz | |
add Google Maps services
Diffstat (limited to 'services/googlemaps/Makefile')
| -rw-r--r-- | services/googlemaps/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/services/googlemaps/Makefile b/services/googlemaps/Makefile new file mode 100644 index 0000000..b072b4b --- /dev/null +++ b/services/googlemaps/Makefile @@ -0,0 +1,29 @@ + +VALIDATOR := perl ../../utils/validator.pl --schema spore_validation.rx --description +SPORE2DOT := perl ../../utils/spore2dot.pl + +check: spore_validation.rx + @$(VALIDATOR) directions.json + @$(VALIDATOR) distancematrix.json + @$(VALIDATOR) elevation.json + @$(VALIDATOR) geocoding.json + +test: check + +spore_validation.rx: + wget http://github.com/SPORE/specifications/raw/master/spore_validation.rx + +png: googlemaps.png + +%.png : %.dot + dot -T png -o $@ $< + +googlemaps.dot: \ + directions.json \ + distancematrix.json \ + geocoding.json \ + elevation.json + $(SPORE2DOT) $^ > $@ + +clean: + -rm *.png *.dot spore_validation.rx |
