X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=31506ceea83ab24c9eb97118f682641d75b7453a;hb=5ff950d29277c37e531a17b37b13d8e0ac2e8f1e;hp=3d3fc9a017b086c5f5153a67553d72d49885cec1;hpb=dbee2b7804022e1e58f0bac6a0117585f28d8c76;p=sfa.git diff --git a/Makefile b/Makefile index 3d3fc9a0..31506cee 100644 --- a/Makefile +++ b/Makefile @@ -5,34 +5,24 @@ DESTDIR="/" ########## -all: keyconvert python wsdl +all: python wsdl -install: keyconvert-install python-install wsdl-install xmlbuilder-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 - -keyconvert-install: - $(MAKE) -C keyconvert install +uninstall: python-uninstall -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: @@ -81,7 +71,7 @@ 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 ./config/gen-sfa-cm-config.py \ ./sfa/plc/sfa-import-plc.py ./sfa/plc/sfa-nuke-plc.py ./sfa/server/sfa-server.py \