Polishes sectors list creation, adds alternative name of sectors.
[platal.git] / Makefile
index e297744..3fb1921 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ q:
 ##
 
 core:
-       [ -d core ] || ( git submodule init && git submodule update )
+       [ -d core/.git ] || ( git submodule init && git submodule update )
        make -C core all
 
 ##
@@ -112,7 +112,7 @@ get-wiki:
 ## openid
 ##
 
-openid: get-openid
+openid: get-openid spool/openid/store
 
 # There is no obvious way to automatically use the latest version
 get-openid:
@@ -124,6 +124,11 @@ get-openid:
            rm -r php-openid-2.1.2;                                       \
        fi
 
+spool/openid/store:
+       mkdir -p $@
+       chmod o+w $@
+
+
 ##
 ## banana
 ##