#!/usr/bin/install-menu
#I need menu-1!
#
#NOTE: the first line of this script _must_ be
# equal to "#!/usr/bin/install-menu", otherwise update-menus
# will feed this script old-compat-mode data.
#
#More info: /usr/share/doc/menu/html.
#
#The output of this script still isn't quite right, but it starts
#to be acceptable.
#
compat="menu-1"
!include menu.h
compat="menu-2"
supported;
dwww = "
"
ifelse($longtitle,$longtitle,$title) ""
ifnempty($description,"
"$description "")
"\n";
endsupported;
startmenu= ""
$title
"
"
ifnempty($description,"
" $description "")
"\n";
endmenu= "
\n\n";
submenutitle=""
ifelse($longtitle,$longtitle,$title) ""
ifnempty($description,"
"$description "")
"\n";
genmenu= "/var/lib/dwww/html/menudefs.hook";
#the rc copy stuff doesn't work yet, sorry.
rcfile= "/var/lib/dwww/html/menu.html";
examplercfile="/usr/lib/dwww/menu.html-menu";
rootprefix= "/";
userprefix= ".dwww/";
treewalk="(mc)";
mainmenutitle="Debian information";
preoutput="\n\n";