adjust makefile to use submodules

This commit is contained in:
James Vasile 2013-02-07 14:25:08 -05:00
parent c1ee3f73d3
commit c976b1a00c

View File

@ -16,17 +16,10 @@ build:
predepend:
sudo sh -c "apt-get install augeas-tools python-bjsonrpc python-augeas python-simplejson pandoc python-cheetah python-cherrypy3"
git submodule init
git submodule update
touch predepend
$(BUILDDIR)/exmachina: build
@test -d $@ || git clone git://github.com/tomgalloway/exmachina $@
$(BUILDDIR)/bjsonrpc: build
@test -d $@ || git clone git://github.com/deavid/bjsonrpc.git $@
$(BUILDDIR)/withsqlite: build
@test -d $@ || git clone git://github.com/jvasile/withsqlite.git $@
install: default
mkdir -p $(DESTDIR)/etc/init.d $(DESTDIR)/etc/plinth
cp plinth.sample.fhs.config $(DESTDIR)/etc/plinth/plinth.config