2006-08-30 06:39:17 -04:00
|
|
|
|
2006-10-12 15:55:15 -04:00
|
|
|
VER= $(shell grep 'define NGINX_VERSION' src/core/nginx.h \
|
2013-03-28 05:47:25 -03:00
|
|
|
| sed -e 's/^.*"\(.*\)".*/\1/')
|
2006-08-30 06:39:17 -04:00
|
|
|
NGINX= nginx-$(VER)
|
|
|
|
TEMP= tmp
|
2014-02-28 13:17:00 -03:00
|
|
|
XSLS?= xslscript.pl
|
2006-08-30 06:39:17 -04:00
|
|
|
|
|
|
|
|
2011-10-09 03:49:54 -03:00
|
|
|
all: changes
|
2011-09-05 06:39:24 -03:00
|
|
|
|
2006-08-30 06:39:17 -04:00
|
|
|
changes: $(TEMP)/$(NGINX)/CHANGES.ru \
|
|
|
|
$(TEMP)/$(NGINX)/CHANGES
|
|
|
|
|
|
|
|
|
2012-08-30 12:08:13 -04:00
|
|
|
$(TEMP)/$(NGINX)/CHANGES.ru: docs/dtd/changes.dtd \
|
|
|
|
docs/xml/nginx/changes.xml \
|
2011-08-19 04:33:47 -04:00
|
|
|
docs/xml/change_log_conf.xml \
|
2006-08-30 06:39:17 -04:00
|
|
|
docs/xslt/changes.xslt
|
|
|
|
|
2012-07-31 17:49:23 -04:00
|
|
|
mkdir -p $(TEMP)/$(NGINX)
|
2006-08-30 06:39:17 -04:00
|
|
|
|
2012-08-30 12:08:13 -04:00
|
|
|
xmllint --noout --valid docs/xml/nginx/changes.xml
|
2011-08-19 04:33:47 -04:00
|
|
|
xsltproc --stringparam lang ru \
|
2012-07-31 17:49:23 -04:00
|
|
|
-o $@ docs/xslt/changes.xslt docs/xml/nginx/changes.xml
|
2006-08-30 06:39:17 -04:00
|
|
|
|
|
|
|
|
2012-08-30 12:08:13 -04:00
|
|
|
$(TEMP)/$(NGINX)/CHANGES: docs/dtd/changes.dtd \
|
|
|
|
docs/xml/nginx/changes.xml \
|
2011-08-19 04:33:47 -04:00
|
|
|
docs/xml/change_log_conf.xml \
|
2006-08-30 06:39:17 -04:00
|
|
|
docs/xslt/changes.xslt
|
|
|
|
|
2012-07-31 17:49:23 -04:00
|
|
|
mkdir -p $(TEMP)/$(NGINX)
|
2006-08-30 06:39:17 -04:00
|
|
|
|
2012-08-30 12:08:13 -04:00
|
|
|
xmllint --noout --valid docs/xml/nginx/changes.xml
|
2011-08-19 04:33:47 -04:00
|
|
|
xsltproc --stringparam lang en \
|
2012-07-31 17:49:23 -04:00
|
|
|
-o $@ docs/xslt/changes.xslt docs/xml/nginx/changes.xml
|
|
|
|
|
2006-08-30 06:39:17 -04:00
|
|
|
|
2014-02-28 13:17:00 -03:00
|
|
|
docs/xslt/changes.xslt: docs/xsls/changes.xsls
|
2006-08-30 06:39:17 -04:00
|
|
|
|
2014-02-28 13:17:00 -03:00
|
|
|
$(XSLS) -o $@ $<
|