diff 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
line wrap: on
line diff
--- a/GNUmakefile	Tue Nov 15 08:27:11 2011 +0000
+++ b/GNUmakefile	Tue Nov 15 09:03:03 2011 +0000
@@ -202,7 +202,7 @@
 	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 @@
 	$(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)