comparison GNUmakefile @ 2054:f99bf8ef5813

Fixed "genapi" dependencies.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 04 Oct 2017 14:51:18 +0300
parents ace0ddbb2513
children ac0faf33b721
comparison
equal deleted inserted replaced
2053:2ac75347ed1a 2054:f99bf8ef5813
167 xslt/%.xslt: xsls/%.xsls 167 xslt/%.xslt: xsls/%.xsls
168 mkdir -p $(dir $@) 168 mkdir -p $(dir $@)
169 $(call XSLScript, $<, $@) 169 $(call XSLScript, $<, $@)
170 170
171 171
172 API_OUT=xml/en/docs/http/ngx_http_api_module.xml 172 genapi:
173 173 $(MAKE) -C yaml
174 genapi: \
175 yaml/nginx_api.yaml \
176 yaml/yaml2xml.py \
177 xml/en/docs/http/ngx_http_api_module_head.xml
178 @cat xml/en/docs/http/ngx_http_api_module_head.xml > $(API_OUT)
179 @yaml/yaml2xml.py yaml/nginx_api.yaml >> $(API_OUT)
180 @echo "</module>" >> $(API_OUT)
181 174
182 175
183 images: \ 176 images: \
184 binary/books/nginx_cookbook.jpg \ 177 binary/books/nginx_cookbook.jpg \
185 binary/books/nginx_http_server_3rd_ed.jpg \ 178 binary/books/nginx_http_server_3rd_ed.jpg \