How to always have the latest nginx version in Ubuntu/Debian

Igor Sysoev is at rambler-co.ru
Tue Mar 24 09:13:52 MSK 2009


On Tue, Mar 24, 2009 at 09:08:31AM +0300, Igor Sysoev wrote:

> On Mon, Mar 23, 2009 at 11:04:43PM -0700, Michael Shadle wrote:
> 
> > 2009/3/23 Igor Sysoev <is at rambler-co.ru>:
> > 
> > >> root at local:/usr/src/build# cat build-nginx
> > >> #!/bin/sh
> > >
> > > If you build something by hand, use program tuned specially for this: make,
> > > even with the single target. make has one excellent feature: it always tests
> > > a program exit code and stops execution if the program has failed.
> > 
> > You mean make a "make nginx" instead of ./build-nginx ?
> 
> Just "make" with such Makefile:
> 
> all:
> 	./configure ...
> 	make
> 	echo
> 	mv/etc

all:
	wget
	tar
	cd ... \
		&& ./configure ... \
 		&& make
 	echo
 	mv/etc


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list