Commit 83911662 authored by Georges Khaznadar's avatar Georges Khaznadar

updated Makefile

parent fa20974e
......@@ -10,12 +10,5 @@ clean:
find . -name "__pycache__" | xargs rm -rf
install:
install -d $(SERVERDIR)
cp *.py cherryApp.conf nobody.jpg updateDb.sh haarcascade_frontalface_default.xml $(SERVERDIR)
cp -a static templates $(SERVERDIR)
# fix the cherrypy configuration
sed -i 's%tools.staticdir.root.*%tools.staticdir.root = "/var/lib/photodb"%' $(SERVERDIR)/cherryApp.conf
install -d $(BINDIR)
cp photodbServer $(BINDIR)
.PHONY: all clean install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment