Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 35 lines (27 sloc) 1.393 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
default:
@echo "options:"
@echo "make install: prepare Foafpress install (make cachedir writeable, get all libraries)"
@echo "make getlibs: clone all libraries (arc2, rdfto, spcms)"
@echo "make caching: make cachedir writeable"
@echo "make arc2|rdfto|spcms: clone a specific libraries"
@echo "make enable-modules: enable apache modules (sudo needed)"

install: caching getlibs

caching:
chmod 777 cache

getlibs: arc2 rdfto spcms

enable-modules:
a2enmod negotiation
a2enmod dir
a2enmod rewrite

arc2:
rm -rf foafpressapp/libraries/arc2
git status 2>/dev/null >/dev/null || hg clone http://bitbucket.org/haschek/arc2 foafpressapp/libraries/arc2
hg status 2>/dev/null >/dev/null || git clone https://github.com/haschek/arc2.git foafpressapp/libraries/arc2

rdfto:
rm -rf foafpressapp/libraries/rdfto
git status 2>/dev/null >/dev/null || hg clone http://bitbucket.org/haschek/rdf-template-object foafpressapp/libraries/rdfto
hg status 2>/dev/null >/dev/null || git clone https://github.com/haschek/RDF-Template-Object.git foafpressapp/libraries/rdfto

spcms:
rm -rf foafpressapp/libraries/spcms
git status 2>/dev/null >/dev/null || hg clone https://sandbox-publisher-cms.googlecode.com/hg/ foafpressapp/libraries/spcms
hg status 2>/dev/null >/dev/null || git clone https://github.com/haschek/Sandbox-Publisher-CMS.git foafpressapp/libraries/spcms
Something went wrong with that request. Please try again.