changeset 2000:814895f3fb24

Skip dirmap operations if $(NGINX_ORG) is customized.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 27 Jun 2017 16:33:19 +0300
parents 1b086de6a05b
children 1ece24f10f2a
files GNUmakefile
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/GNUmakefile	Wed Jun 14 12:37:04 2017 +0300
+++ b/GNUmakefile	Tue Jun 27 16:33:19 2017 +0300
@@ -321,11 +321,14 @@
 
 ifeq ($(patsubst %.nginx.com,YES,$(shell hostname)), YES)
 all:	images
+
+ifeq ($(NGINX_ORG), /data/www/nginx.org)
 all:	dir.map
 copy:	copy_dirmap
 .PHONY:	copy_dirmap
 copy_dirmap:
 	/usr/local/bin/copy_dirmap.sh dir.map $(NGINX_ORG)
+endif
 
 draft:	copy_draft
 .PHONY:	copy_draft