summaryrefslogtreecommitdiff
path: root/services/linkedin/Makefile
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2011-07-01 22:37:16 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2011-07-01 22:37:16 +0200
commitd5c361bd161341fd1cfedba44c06581a13a7da71 (patch)
treef5d6d845eeb66569f621a29f3ec13632d92ae2f8 /services/linkedin/Makefile
parentcompat OAuth 1.0 & 2.0 (diff)
downloadapi-description-d5c361bd161341fd1cfedba44c06581a13a7da71.tar.gz
add LinkedIn API
Diffstat (limited to 'services/linkedin/Makefile')
-rw-r--r--services/linkedin/Makefile34
1 files changed, 34 insertions, 0 deletions
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