git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
list is a function in registry, hence using types.ListType
[sfa.git]
/
wsdl
/
Makefile
diff --git
a/wsdl/Makefile
b/wsdl/Makefile
index
21d17d3
..
1abba02
100644
(file)
--- a/
wsdl/Makefile
+++ b/
wsdl/Makefile
@@
-1,28
+1,33
@@
# attempt to update at build-time
# 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
)
+# temporary: turn off wsdl generation as it is failing
+#TEMPORARY_OFF = yes
+
+ifdef TEMPORARY_OFF
+registry.wsdl slice-manager.wsdl aggregate.wsdl sfa.wsdl:
+ touch $@
+else
registry.wsdl:
registry.wsdl:
- PYTHONPATH=../ ./
gw
2wsdl.py --registry > $@
+ PYTHONPATH=../ ./
sfa
2wsdl.py --registry > $@
slice-manager.wsdl:
slice-manager.wsdl:
- PYTHONPATH=../ ./
gw
2wsdl.py --slice-manager > $@
+ PYTHONPATH=../ ./
sfa
2wsdl.py --slice-manager > $@
aggregate.wsdl:
aggregate.wsdl:
- PYTHONPATH=../ ./
gw
2wsdl.py --aggregate > $@
+ PYTHONPATH=../ ./
sfa
2wsdl.py --aggregate > $@
sfa.wsdl:
sfa.wsdl:
- PYTHONPATH=../ ./gw2wsdl.py --registry --slice-manager --aggregate > $@
+ PYTHONPATH=../ ./sfa2wsdl.py --registry --slice-manager --aggregate > $@
+endif
#################### install
# DESTDIR set but the calling Makefile in ../
INSTALL_PATH=/var/www/html/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)
install: $(INSTALLED)