diff yaml/GNUmakefile @ 2054:f99bf8ef5813

Fixed "genapi" dependencies.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 04 Oct 2017 14:51:18 +0300
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/yaml/GNUmakefile
@@ -0,0 +1,11 @@
+API_HEAD=../xml/en/docs/http/ngx_http_api_module_head.xml
+
+../xml/en/docs/http/ngx_http_api_module.xml:				\
+		nginx_api.yaml						\
+		yaml2xml.py						\
+		$(API_HEAD)
+	cat $(API_HEAD) > $@
+	./yaml2xml.py nginx_api.yaml >> $@
+	echo "</module>" >> $@
+
+.DELETE_ON_ERROR: