Ticket #15948: patch-auto-install.diff
File patch-auto-install.diff, 1.7 KB (added by richard@…, 16 years ago) |
---|
-
auto/install
7 7 cat << END >> $NGX_MAKEFILE 8 8 9 9 install_perl_modules: 10 cd $NGX_OBJS/src/http/modules/perl && make install10 cd $NGX_OBJS/src/http/modules/perl && make pure_install 11 11 END 12 12 13 13 NGX_INSTALL_PERL_MODULES=install_perl_modules … … 35 35 cp conf/koi-utf '\$(DESTDIR)$NGX_CONF_PREFIX' 36 36 cp conf/win-utf '\$(DESTDIR)$NGX_CONF_PREFIX' 37 37 38 test -f '\$(DESTDIR)$NGX_CONF_PREFIX/mime.types' \ 39 || cp conf/mime.types '\$(DESTDIR)$NGX_CONF_PREFIX' 40 cp conf/mime.types '\$(DESTDIR)$NGX_CONF_PREFIX/mime.types.default' 41 42 test -f '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi_params' \ 43 || cp conf/fastcgi_params '\$(DESTDIR)$NGX_CONF_PREFIX' 44 cp conf/fastcgi_params \ 45 '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi_params.default' 46 47 test -f '\$(DESTDIR)$NGX_CONF_PATH' \ 48 || cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX' 49 cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX/nginx.conf.default' 38 cp conf/mime.types '\$(DESTDIR)$NGX_CONF_PREFIX/mime.types.example' 39 40 cp conf/fastcgi_params '\$(DESTDIR)$NGX_CONF_PREFIX/fastcgi_params.example' 41 42 cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX/nginx.conf.example' 50 43 51 44 test -d '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' \ 52 45 || mkdir -p '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' … … 54 47 test -d '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`' || \ 55 48 mkdir -p '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`' 56 49 57 test -d '\$(DESTDIR)$NGX_PREFIX/html' \ 58 || cp -r html '\$(DESTDIR)$NGX_PREFIX' 50 test -d '\$(DESTDIR)$NGX_PREFIX/share/nginx/html' || \ 51 mkdir -p '\$(DESTDIR)$NGX_PREFIX/share/nginx/html' && \ 52 cp -r html '\$(DESTDIR)$NGX_PREFIX/share/nginx' 59 53 END 60 54 61 55