X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=31506ceea83ab24c9eb97118f682641d75b7453a;hb=19626c7e9bfc131b6bf030ad7e1d4258871584d2;hp=a6965bbef4df310f2bdc2a2b0a5e0b21412cc226;hpb=53cfd89c9fa5735ffd22b265d18e0dcf1d2cf106;p=sfa.git diff --git a/Makefile b/Makefile index a6965bbe..31506cee 100644 --- a/Makefile +++ b/Makefile @@ -5,37 +5,31 @@ DESTDIR="/" ########## -all: keyconvert python wsdl +all: python wsdl -install: keyconvert-install python-install wsdl-install +install: python-install wsdl-install xmlbuilder-install -clean: keyconvert-clean python-clean wsdl-clean +clean: python-clean wsdl-clean -.PHONY: all install clean - -########## -keyconvert: - $(MAKE) -C keyconvert +uninstall: python-uninstall -keyconvert-install: - $(MAKE) -C keyconvert install - -keyconvert-clean: - $(MAKE) -C keyconvert clean - -.PHONY: keyconvert keyconvert-install keyconvert-clean +.PHONY: all install clean ########## python: +xmlbuilder-install: + cd xmlbuilder-0.9 && python setup.py install --root=$(DESTDIR) && cd - + python-install: - python setup.py install --root=$(DESTDIR) + python setup.py install --root=$(DESTDIR) + chmod 444 $(DESTDIR)/etc/sfa/default_config.xml python-clean: python setup.py clean rm $(init) -.PHONY: python python-install python-clean +.PHONY: python python-install python-clean xmlbuilder-install ########## wsdl: $(MAKE) -C wsdl @@ -77,12 +71,12 @@ endif LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' RSYNC_EXCLUDES := --exclude .svn --exclude CVS --exclude '*~' --exclude TAGS $(LOCAL_RSYNC_EXCLUDES) RSYNC_COND_DRY_RUN := $(if $(findstring n,$(MAKEFLAGS)),--dry-run,) -RSYNC := rsync -a -v $(RSYNC_COND_DRY_RUN) $(RSYNC_EXCLUDES) +RSYNC := rsync -a -v $(RSYNC_COND_DRY_RUN) --no-owner $(RSYNC_EXCLUDES) -BINS = ./config/sfa-config-tty ./sfa/plc/sfa-import-plc.py ./sfa/plc/sfa-nuke-plc.py \ - ./sfa/server/sfa-server.py \ +BINS = ./config/sfa-config-tty ./config/gen-sfa-cm-config.py \ + ./sfa/plc/sfa-import-plc.py ./sfa/plc/sfa-nuke-plc.py ./sfa/server/sfa-server.py \ ./sfa/client/sfi.py ./sfa/client/getNodes.py ./sfa/client/getRecord.py \ - ./sfa/client/setRecord.py ./sfa/client/genidump.py + ./sfa/client/setRecord.py ./sfa/client/sfadump.py sync: ifeq (,$(SSHURL))