import torrus 1.0.9
[freeside.git] / torrus / setup_tools / substvars.sh.in
1 #!@SHELL@
2 #  Copyright (C) 2002  Stanislav Sinyagin
3 #
4 #  This program is free software; you can redistribute it and/or modify
5 #  it under the terms of the GNU General Public License as published by
6 #  the Free Software Foundation; either version 2 of the License, or
7 #  (at your option) any later version.
8 #
9 #  This program is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #  GNU General Public License for more details.
13 #
14 #  You should have received a copy of the GNU General Public License
15 #  along with this program; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17
18 # $Id: substvars.sh.in,v 1.1 2010-12-27 00:04:39 ivan Exp $
19 # Stanislav Sinyagin <ssinyagin@yahoo.com>
20 #
21
22 PACKAGE=@PACKAGE@
23 prefix=@prefix@
24 datarootdir=@datarootdir@
25 pkghome=@pkghome@
26 exec_prefix=@exec_prefix@
27 perllibdir=@perllibdir@
28 pluginsdir=@pluginsdir@
29 sysconfdir=@sysconfdir@
30 varprefix=@varprefix@
31 sitedir=@sitedir@
32 supdir=@supdir@
33 styldir=@supdir@/styling
34
35 devdiscover_config_pl=@cfgdefdir@/devdiscover-config.pl
36 torrus_config_pl=@cfgdefdir@/torrus-config.pl
37
38 torrus_siteconfig_pl=@siteconfdir@/torrus-siteconfig.pl
39 snmptrap_siteconfig_pl=@siteconfdir@/snmptrap-siteconfig.pl
40 email_siteconfig_pl=@siteconfdir@/email-siteconfig.pl
41 devdiscover_siteconfig_pl=@siteconfdir@/devdiscover-siteconfig.pl
42 notify_siteconfig_pl=@siteconfdir@/notify-siteconfig.pl
43
44 @SED@ \
45     -e "s,\@FIND\@,@FIND@,g" \
46     -e "s,\@PERL\@,@PERL@,g" \
47     -e "s,\@RM\@,@RM@,g" \
48     -e "s,\@SHELL\@,@SHELL@,g" \
49     -e "s,\@VERSION\@,@VERSION@,g" \
50     -e "s,\@bindir\@,@bindir@,g" \
51     -e "s,\@cachedir\@,@cachedir@,g" \
52     -e "s,\@cfgdefdir\@,@cfgdefdir@,g" \
53     -e "s,\@dbhome\@,@dbhome@,g" \
54     -e "s,\@defrrddir\@,@defrrddir@,g" \
55     -e "s,\@devdiscover_config_pl\@,$devdiscover_config_pl,g" \
56     -e "s,\@devdiscover_siteconfig_pl\@,$devdiscover_siteconfig_pl,g" \
57     -e "s,\@distxmldir\@,@distxmldir@,g" \
58     -e "s,\@pkgdocdir\@,@pkgdocdir@,g" \
59     -e "s,\@email_siteconfig_pl\@,$email_siteconfig_pl,g" \
60     -e "s,\@exmpdir\@,@exmpdir@,g" \
61     -e "s,\@logdir\@,@logdir@,g" \
62     -e "s,\@mandir\@,@mandir@,g" \
63     -e "s,\@mansec_misc\@,@mansec_misc@,g" \
64     -e "s,\@mansec_usercmd\@,@mansec_usercmd@,g" \
65     -e "s,\@notify_siteconfig_pl\@,$notify_siteconfig_pl,g" \
66     -e "s,\@perlithreads\@,@perlithreads@,g" \
67     -e "s,\@perllibdir\@,@perllibdir@,g" \
68     -e "s,\@perllibdirs\@,@perllibdirs@,g" \
69     -e "s,\@piddir\@,@piddir@,g" \
70     -e "s,\@pkgbindir\@,@pkgbindir@,g" \
71     -e "s,\@pkghome\@,@pkghome@,g" \
72     -e "s,\@plugdevdisccfgdir\@,@plugdevdisccfgdir@,g" \
73     -e "s,\@pluginsdir\@,@pluginsdir@,g" \
74     -e "s,\@plugtorruscfgdir\@,@plugtorruscfgdir@,g" \
75     -e "s,\@plugwrapperdir\@,@plugwrapperdir@,g" \
76     -e "s,\@reportsdir\@,@reportsdir@,g" \
77     -e "s,\@scriptsdir\@,@scriptsdir@,g" \
78     -e "s,\@seslockdir\@,@seslockdir@,g" \
79     -e "s,\@sesstordir\@,@sesstordir@,g" \
80     -e "s,\@siteconfdir\@,@siteconfdir@,g" \
81     -e "s,\@sitedir\@,@sitedir@,g" \
82     -e "s,\@sitexmldir\@,@sitexmldir@,g" \
83     -e "s,\@snmptrap_siteconfig_pl\@,$snmptrap_siteconfig_pl,g" \
84     -e "s,\@styldir\@,$styldir,g" \
85     -e "s,\@supdir\@,@supdir@,g" \
86     -e "s,\@tmpldir\@,@tmpldir@,g" \
87     -e "s,\@tmpluserdir\@,@tmpluserdir@,g" \
88     -e "s,\@torrus_config_pl\@,$torrus_config_pl,g" \
89     -e "s,\@torrus_siteconfig_pl\@,$torrus_siteconfig_pl,g" \
90     -e "s,\@torrus_user\@,@torrus_user@,g" \
91     -e "s,\@webplaindir\@,@webplaindir@,g" \
92     $1
93
94 # Local Variables:
95 # mode: shell-script
96 # indent-tabs-mode: nil
97 # perl-indent-level: 4
98 # End: