X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=84edd6f563e6ab7cbf1495e7adec4f312eb6324b;hb=f9a8c549deebf96792c3ba423e01545dc7caf95b;hp=d63ab9b9d73828d67c621e980315050080049aeb;hpb=40324482ba301d7ed9a56ef0fc2d4391dbaf871b;p=platal.git diff --git a/Makefile b/Makefile index d63ab9b..84edd6f 100644 --- a/Makefile +++ b/Makefile @@ -139,25 +139,8 @@ get-wiki: ## openid ## -openid: get-openid spool/openid/store - -# There is no obvious way to automatically use the latest version -OPENID_VERSION = 2.2.2 -OPENID_COMMIT = 782224d -get-openid: - @if ! test -d include/Auth; then \ - wget --no-check-certificate \ - https://github.com/openid/php-openid/tarball/$(OPENID_VERSION) \ - -O php-openid-$(OPENID_VERSION).tar.gz; \ - tar -xzf php-openid-$(OPENID_VERSION).tar.gz; \ - mv openid-php-openid-$(OPENID_COMMIT)/Auth include/; \ - rm php-openid-$(OPENID_VERSION).tar.gz; \ - rm -r openid-php-openid-$(OPENID_COMMIT); \ - fi - -spool/openid/store: - mkdir -p $@ - chmod o+w $@ +openid: + -rm -rf include/Auth ## ## banana