X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=Makefile;h=9e84e356aafb21bb85206b3ce71b9e1776676a8b;hb=d63c20b73de27d5b272ce8b1442044cc8d5fbb93;hp=e527a5e3ba49bb9ddedad58fd2225f0a7f8145bd;hpb=a95a5cadbfa1b74e16c0ca8d89af290abdd30442;p=odoo%2Fodoo.git diff --git a/Makefile b/Makefile index e527a5e..9e84e35 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,31 @@ -# -*- makefile -*- +.PHONY: all doc release clean -addons-path := bin/addons/ -root-path := bin/ -port := 8069 -net_port := 8070 -interrogation_file := bin/addons/base_quality_interrogation.py -login := admin -password := admin +HOST = 127.0.0.1 +PORT = 8080 -openerp-test: - python $(interrogation_file) openerp-test --root-path=$(root-path) --addons-path=$(addons-path) --net_port=$(net_port) --port=$(port) --login=$(login) --password=$(password) +all: run + +run: + python openerp-web.py -a ${HOST} -p ${PORT} + +release: + python setup.py sdist + +install: + python setup.py install + +clean: + @find . -name '*.pyc' -exec rm -f {} + + @find . -name '*.pyo' -exec rm -f {} + + @find . -name '*.swp' -exec rm -f {} + + @find . -name '*~' -exec rm -f {} + + @rm -rf build + @rm -rf dist + @rm -rf *.egg-info + +doc: + make -C doc html + +cloc: + cloc addons/*/common/*.py addons/*/controllers/*.py addons/*/static/src/*.js addons/*/static/src/js/*.js addons/*/static/src/css/*.css addons/*/static/src/xml/*.xml -version: - python bin/openerp-server.py --version