File: gnustep.init

package info (click to toggle)
gnustep-make 2.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,084 kB
  • sloc: sh: 3,990; objc: 806; makefile: 229; perl: 71
file content (28 lines) | stat: -rw-r--r-- 879 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
if (defined($ENV{'GNUSTEP_WEB_ROOT'})) {
  open(TMPL,"<$ENV{'GNUSTEP_WEB_ROOT'}/secondary.html.template");
  $tmpl=join("",<TMPL>);
  close(TMPL);
  ($T2H_EXTRA_HEAD,$T2H_AFTER_BODY_OPEN,$T2H_PRE_BODY_CLOSE_BAD) =
    ($tmpl=~/<\/title>(.*)<\/head>.*<body>(.*<div id="main">).*(<\/div><\/div>.*)<\/body>/sm);
  }
else {
  # this is added inside <HEAD></HEAD> after <TITLE> and some META NAME stuff
  # can be used for <style> <script>, <meta> tags
  $T2H_EXTRA_HEAD = '<link rel="stylesheet" href="../gnustep-main.css"
  type="text/css" />';
  }

######################################################################

sub nothing
{
}

$T2H_print_About = \&nothing;
$T2H_SECTION_NAVIGATION = 0;
#$T2H_print_navigation = \&nothing;

# Perl initialization file must end with the following instruction
# that returns true, confirming the initialization completed
# successfully.
1;