Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4304 - trunk/auto

Anonymous User
November 22, 2011 08:28AM
Author: ru
Date: 2011-11-22 13:26:44 +0000 (Tue, 22 Nov 2011)
New Revision: 4304

Log:
Made it possible to build/install from the SVN checkout.


Modified:
trunk/auto/install

Modified: trunk/auto/install
===================================================================
--- trunk/auto/install 2011-11-21 11:51:41 UTC (rev 4303)
+++ trunk/auto/install 2011-11-22 13:26:44 UTC (rev 4304)
@@ -72,16 +72,28 @@
esac


+if test -e man/nginx.8 ; then
+ NGX_MAN=man/nginx.8
+else
+ NGX_MAN=docs/man/nginx.8
+fi
+
+if test -d html ; then
+ NGX_HTML=html
+else
+ NGX_HTML=docs/html
+fi
+
cat << END >> $NGX_MAKEFILE

manpage: $NGX_OBJS/nginx.8

-$NGX_OBJS/nginx.8: man/nginx.8 $NGX_AUTO_CONFIG_H
+$NGX_OBJS/nginx.8: $NGX_MAN $NGX_AUTO_CONFIG_H
sed -e "s|%%PREFIX%%|$NGX_PREFIX|" \\
-e "s|%%PID_PATH%%|$NGX_PID_PATH|" \\
-e "s|%%CONF_PATH%%|$NGX_CONF_PATH|" \\
-e "s|%%ERROR_LOG_PATH%%|${NGX_ERROR_LOG_PATH:-stderr}|" \\
- < man/nginx.8 > $NGX_OBJS/nginx.8
+ < $NGX_MAN > \$@

install: $NGX_OBJS${ngx_dirsep}nginx${ngx_binext} \
$NGX_INSTALL_PERL_MODULES
@@ -135,7 +147,7 @@
mkdir -p '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`'

test -d '\$(DESTDIR)$NGX_PREFIX/html' \
- || cp -r html '\$(DESTDIR)$NGX_PREFIX'
+ || cp -R $NGX_HTML '\$(DESTDIR)$NGX_PREFIX'
END



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4304 - trunk/auto

Anonymous User 1353 November 22, 2011 08:28AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 156
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready