From: Thierry Parmentelat Date: Wed, 8 Jul 2009 14:54:50 +0000 (+0000) Subject: fix for building wsdl's X-Git-Tag: sfa-0.9-0@14641~106 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ea2444bca38a2b27e8577bd48a7ffe841c7a8a73;p=sfa.git fix for building wsdl's --- diff --git a/wsdl/Makefile b/wsdl/Makefile index 21d17d3b..0cd479d4 100644 --- a/wsdl/Makefile +++ b/wsdl/Makefile @@ -1,8 +1,8 @@ # attempt to update at build-time -ALL := sfa.wsdl registry.wsdl slice-manager.wsdl aggregate.wsdl +WSDLS = sfa.wsdl registry.wsdl slice-manager.wsdl aggregate.wsdl -all: $(ALL) +all: $(WSDLS) registry.wsdl: PYTHONPATH=../ ./gw2wsdl.py --registry > $@ @@ -19,10 +19,7 @@ sfa.wsdl: #################### install # DESTDIR set but the calling Makefile in ../ INSTALL_PATH=/var/www/html/wsdl -INSTALLED=$(foreach wsdl,$(ALL),$(DESTDIR)$(INSTALL_PATH)/$(wsdl)) - -foo: - @echo INSTALLED=$(INSTALLED) +INSTALLED=$(foreach wsdl,$(WSDLS),$(DESTDIR)$(INSTALL_PATH)/$(wsdl)) install: $(INSTALLED)