X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=31506ceea83ab24c9eb97118f682641d75b7453a;hb=682efa38ef23cd0608707029d090a5b75fd6e879;hp=68c42b90a19bb1d57a623e3fe6759cf0a6d84e57;hpb=d5914fa3ef20eb82da53242454e019fe419f597b;p=sfa.git diff --git a/Makefile b/Makefile index 68c42b90..31506cee 100644 --- a/Makefile +++ b/Makefile @@ -5,40 +5,31 @@ DESTDIR="/" ########## -# turn off wsdl generation until it is fixed -#all: keyconvert python wsdl -#install: keyconvert-install python-install wsdl-install +all: python wsdl -all: keyconvert python -install: keyconvert-install python-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 @@ -80,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))