From d5c361bd161341fd1cfedba44c06581a13a7da71 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 1 Jul 2011 22:37:16 +0200 Subject: add LinkedIn API --- services/linkedin/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 services/linkedin/Makefile (limited to 'services/linkedin/Makefile') diff --git a/services/linkedin/Makefile b/services/linkedin/Makefile new file mode 100644 index 0000000..f48c51e --- /dev/null +++ b/services/linkedin/Makefile @@ -0,0 +1,34 @@ + +VALIDATOR := perl ../../utils/validator.pl --schema spore_validation.rx --description +SPORE2DOT := perl ../../utils/spore2dot.pl + +check: spore_validation.rx + @$(VALIDATOR) oauth.json + @$(VALIDATOR) people.json + @$(VALIDATOR) groups.json + @$(VALIDATOR) companies.json + @$(VALIDATOR) jobs.json + @$(VALIDATOR) network.json + @$(VALIDATOR) communications.json + +test: check + +spore_validation.rx: + wget http://github.com/SPORE/specifications/raw/master/spore_validation.rx + +png: linkedin.png + +%.png: %.dot + dot -T png -o $@ $< + +linkedin.dot: \ + people.json \ + groups.json \ + companies.json \ + jobs.json \ + network.json \ + communications.json + $(SPORE2DOT) $^ > $@ + +clean: + -rm *.png *.dot spore_validation.rx -- cgit v1.2.3