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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/yaml/GNUmakefile	Wed Oct 04 14:51:18 2017 +0300
@@ -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: