annotate yaml/GNUmakefile @ 2635:bf8e98fe085f

Linux packages: use $releasever_major in SLES repository instructions. On SLES service packs, $releasever holds a major number (e.g. 12), a dot and a minor number of a service pack (e.g. 5). Since we don't ship packages per-SP for that distribution, but rather the lowest common, we should point our users accordingly.
author Konstantin Pavlov <thresh@nginx.com>
date Tue, 08 Dec 2020 14:07:49 +0300
parents f99bf8ef5813
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2054
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
1 API_HEAD=../xml/en/docs/http/ngx_http_api_module_head.xml
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
2
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
3 ../xml/en/docs/http/ngx_http_api_module.xml: \
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
4 nginx_api.yaml \
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
5 yaml2xml.py \
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
6 $(API_HEAD)
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
7 cat $(API_HEAD) > $@
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
8 ./yaml2xml.py nginx_api.yaml >> $@
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
9 echo "</module>" >> $@
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
10
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
11 .DELETE_ON_ERROR: