diff GNUmakefile @ 2028:5c55b7054b58

Updated docs for the upcoming NGINX Plus release.
author Ruslan Ermilov <ru@nginx.com>
date Sat, 26 Aug 2017 00:56:05 +0300
parents 814895f3fb24
children 7e7edf832099
line wrap: on
line diff
--- a/GNUmakefile	Wed Aug 23 21:49:06 2017 +0300
+++ b/GNUmakefile	Sat Aug 26 00:56:05 2017 +0300
@@ -168,6 +168,16 @@
 	mkdir -p $(dir $@)
 	$(call XSLScript, $<, $@)
 
+
+xml/en/docs/http/ngx_http_api_module.xml:                                     \
+		yaml/nginx_api.yaml                                           \
+		yaml/yaml2xml.py                                              \
+		xml/en/docs/http/ngx_http_api_module_head.xml
+	@cat xml/en/docs/http/ngx_http_api_module_head.xml > $@
+	@yaml/yaml2xml.py yaml/nginx_api.yaml >> $@
+	@echo "</module>" >> $@
+
+
 images:									\
 		binary/books/nginx_troubleshooting.jpg			\
 		binary/books/nginx_richtig_konfigurieren.jpg		\
@@ -338,6 +348,7 @@
 
 clean:
 	rm -rf $(ZIP) $(OUT) xml/*/docs/dirindex.xml dir.map 		\
-	xml/*/docs/varindex.xml
+	xml/*/docs/varindex.xml \
+	xml/en/docs/http/ngx_http_api_module.xml
 
 .DELETE_ON_ERROR: