Mercurial > hg > nginx-site
comparison GNUmakefile @ 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 | 356bcdeb008f |
children | c52987a234e2 |
comparison
equal
deleted
inserted
replaced
181:f26606d1203b | 182:d87e97c0a3e4 |
---|---|
200 $(addsuffix .gz, $(wildcard $(ZIP)/ru/CHANGES.ru-?.?)) \ | 200 $(addsuffix .gz, $(wildcard $(ZIP)/ru/CHANGES.ru-?.?)) \ |
201 | 201 |
202 find $(ZIP) -type f ! -name '*.gz' -exec test \! -e {}.gz \; -print | 202 find $(ZIP) -type f ! -name '*.gz' -exec test \! -e {}.gz \; -print |
203 | 203 |
204 find $(ZIP) -type f -name '*.gz' | \ | 204 find $(ZIP) -type f -name '*.gz' | \ |
205 while read f ; do test -e "$${f%.gz}" || rm -fv "$$f" ; done | 205 while read f ; do test -e "$${f%.gz}" || rm -fv "$$f" ; done |
206 | 206 |
207 $(ZIP)/%.gz: $(ZIP)/% | 207 $(ZIP)/%.gz: $(ZIP)/% |
208 rm -f $<.gz | 208 rm -f $<.gz |
209 gzip -9cn $< > $<.gz | 209 gzip -9cn $< > $<.gz |
210 touch -r $< $<.gz | 210 touch -r $< $<.gz |
211 | 211 |
212 draft: all | 212 draft: all |
213 $(CHMOD) $(OUT)/ | 213 $(CHMOD) $(OUT)/ |
214 $(RSYNC) --delete $(OUT)/ $(NGINX_ORG)/$(OUT)/ | 214 $(RSYNC) --delete $(OUT)/ $(NGINX_ORG)/$(OUT)/ |
215 | 215 |
216 .PHONY: binary | |
217 binary: | |
218 $(RSYNC) binary/ $(NGINX_ORG)/ | |
219 | |
216 copy: | 220 copy: |
217 $(CHMOD) $(ZIP) | 221 $(CHMOD) $(ZIP) |
218 $(RSYNC) $(ZIP)/ binary/ $(NGINX_ORG)/ | 222 $(RSYNC) $(ZIP)/ binary/ $(NGINX_ORG)/ |
219 $(RSYNC) --delete $(foreach lang, $(LANGS), $(ZIP)/$(lang)) $(NGINX_ORG)/ | 223 $(RSYNC) --delete $(foreach lang, $(LANGS), $(ZIP)/$(lang)) \ |
224 $(NGINX_ORG)/ | |
220 | 225 |
221 dev: xslt/development.xslt sign | 226 dev: xslt/development.xslt sign |
222 dev: NGINX=$(shell xsltproc xslt/development.xslt xml/versions.xml) | 227 dev: NGINX=$(shell xsltproc xslt/development.xslt xml/versions.xml) |
223 | 228 |
224 stable: xslt/stable.xslt sign | 229 stable: xslt/stable.xslt sign |