File: config

package info (click to toggle)
libnginx-mod-http-fancyindex 1%3A0.5.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 340 kB
  • sloc: ansic: 1,296; sh: 588; awk: 36; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# vim:ft=sh:
ngx_addon_name=ngx_http_fancyindex_module

if [ "$ngx_module_link" = DYNAMIC ] ; then
    ngx_module_type=HTTP
    ngx_module_name=ngx_http_fancyindex_module
    ngx_module_srcs="$ngx_addon_dir/ngx_http_fancyindex_module.c"
    ngx_module_deps="$ngx_addon_dir/template.h"
    ngx_module_order="$ngx_module_name ngx_http_autoindex_module"
    . auto/module
else
    # XXX: Insert fancyindex module *after* index module!
    #
    HTTP_MODULES=`echo "${HTTP_MODULES}" | sed -e \
	's/ngx_http_index_module/ngx_http_fancyindex_module ngx_http_index_module/'`
    NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_fancyindex_module.c"
    if [ $HTTP_ADDITION != YES ] ; then
        echo " - The 'addition' filter is needed for fancyindex_{header,footer}, but it was disabled"
    fi
fi