Mercurial > hg > nginx-site
changeset 182:d87e97c0a3e4
*) binary target to rsync binaries;
*) style fixes.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 15 Nov 2011 09:03:03 +0000 |
parents | f26606d1203b |
children | aa4c2b46a4a3 |
files | GNUmakefile |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/GNUmakefile +++ b/GNUmakefile @@ -202,7 +202,7 @@ do_gzip: $(addsuffix .gz, $(wildcard $(Z find $(ZIP) -type f ! -name '*.gz' -exec test \! -e {}.gz \; -print find $(ZIP) -type f -name '*.gz' | \ - while read f ; do test -e "$${f%.gz}" || rm -fv "$$f" ; done + while read f ; do test -e "$${f%.gz}" || rm -fv "$$f" ; done $(ZIP)/%.gz: $(ZIP)/% rm -f $<.gz @@ -213,10 +213,15 @@ draft: all $(CHMOD) $(OUT)/ $(RSYNC) --delete $(OUT)/ $(NGINX_ORG)/$(OUT)/ +.PHONY: binary +binary: + $(RSYNC) binary/ $(NGINX_ORG)/ + copy: $(CHMOD) $(ZIP) $(RSYNC) $(ZIP)/ binary/ $(NGINX_ORG)/ - $(RSYNC) --delete $(foreach lang, $(LANGS), $(ZIP)/$(lang)) $(NGINX_ORG)/ + $(RSYNC) --delete $(foreach lang, $(LANGS), $(ZIP)/$(lang)) \ + $(NGINX_ORG)/ dev: xslt/development.xslt sign dev: NGINX=$(shell xsltproc xslt/development.xslt xml/versions.xml)