diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2014-02-28 20:17:00 +0400 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-02-28 20:17:00 +0400 |
| commit | f567a71448a9f895c44804e58677368dc3b64348 (patch) | |
| tree | 219dc11bb7ca052c6f61cd9ad67f13df26842b5c /docs/GNUmakefile | |
| parent | 96af3e9dfb1d890bbbbc78d88be8bb34a6e4d7a7 (diff) | |
| download | nginx-f567a71448a9f895c44804e58677368dc3b64348.tar.gz nginx-f567a71448a9f895c44804e58677368dc3b64348.tar.bz2 | |
Docs: switched from java XSLScript to xslscript.pl.
Latter is available from http://hg.nginx.org/xslscript.
Diffstat (limited to 'docs/GNUmakefile')
| -rw-r--r-- | docs/GNUmakefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/docs/GNUmakefile b/docs/GNUmakefile index cfa028998..9a920fe3f 100644 --- a/docs/GNUmakefile +++ b/docs/GNUmakefile @@ -3,7 +3,7 @@ VER= $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ | sed -e 's/^.*"\(.*\)".*/\1/') NGINX= nginx-$(VER) TEMP= tmp -CP= $(HOME)/java +XSLS?= xslscript.pl all: changes @@ -36,12 +36,6 @@ $(TEMP)/$(NGINX)/CHANGES: docs/dtd/changes.dtd \ -o $@ docs/xslt/changes.xslt docs/xml/nginx/changes.xml -docs/xslt/changes.xslt: docs/xsls/changes.xsls docs/xsls/dump.xsls +docs/xslt/changes.xslt: docs/xsls/changes.xsls - java -cp $(CP)/xsls/saxon.jar:$(CP)/xsls/xsls.jar \ - com.pault.StyleSheet \ - -x com.pault.XX -y com.pault.XX \ - $< docs/xsls/dump.xsls \ - | sed 's/ *$$//;/^ *$$/N;/\n *$$/D' > $@ - - if [ ! -s $@ ]; then rm $@; fi; test -s $@ + $(XSLS) -o $@ $< |
