Mercurial > hg > nginx-vendor-current
view auto/init @ 3:8beaf7b3241f
Added tag NGINX_0_1_1 for changeset cc9f381affaa
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 11 Oct 2004 00:00:00 +0400 |
parents | cc9f381affaa |
children | 4b2dafa26fe2 |
line wrap: on
line source
# Copyright (C) Igor Sysoev MAKEFILE=$OBJS/Makefile NGX_AUTO_CONFIG_H=$OBJS/ngx_auto_config.h NGX_MODULES_C=$OBJS/ngx_modules.c NGX_AUTOTEST=$OBJS/autotest NGX_ERR=$OBJS/autoconf.err CC_WARN=$CC PCH=NO USEPCH= OBJEXT= BINEXT= DIRSEP='\/' MAKE_SL=NO # checking echo's "-n" option and "\c" capabilties if echo "test\c" | grep c >/dev/null; then if echo -n test | grep n >/dev/null; then ngx_n= ngx_c= else ngx_n=-n ngx_c= fi else ngx_n= ngx_c='\c' fi if test ! -f Makefile; then cat << END > Makefile build: \$(MAKE) -f $OBJS/Makefile install: \$(MAKE) -f $OBJS/Makefile install clean: rm -rf Makefile $OBJS upgrade: $SBIN_PATH -t kill -USR2 \`cat $PID_PATH\` sleep 1 test -f $PID_PATH.newbin kill -WINCH \`cat $PID_PATH\` END fi