]> bicyclesonthemoon.info Git - ott/enhance/blob - settings.txt
debug build target; updated config tool; install script
[ott/enhance] / settings.txt
1 # settings.txt
2
3 # Copyright (C) 2022, 2024  Balthasar SzczepaƄski
4
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as
7 # published by the Free Software Foundation, either version 3 of the
8 # License, or (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU Affero General Public License for more details.
14
15 # You should have received a copy of the GNU Affero General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 _C_DEFINE_STR: #define $0 "@_ESCAPE($1)"
19 # _C_INCLUDE_STR: #include "@_ESCAPE($0)"
20
21 _bin_bluenh_path       = @_PATH($bin_path, bluenh)
22 _bin_bluenh_cgi_path   = @_PATH($bin_path, bluenh-cgi)
23 _bin_diff_path         = @_PATH($bin_path, diff)
24 _bin_diff_cgi_path     = @_PATH($bin_path, diff-cgi)
25 _bin_nofading_path     = @_PATH($bin_path, nofading)
26 _bin_nofading_cgi_path = @_PATH($bin_path, nofading-cgi)
27 _bin_npb_path          = @_PATH($bin_path, npb)
28 _bin_npb_cgi_path      = @_PATH($bin_path, npb-cgi)
29 _bin_pal_mix_path      = @_PATH($bin_path, pal_mix)
30 _bin_pal_mixdiff_path  = @_PATH($bin_path, pal_mixdiff)
31 _bin_pal_unmix_path    = @_PATH($bin_path, pal_unmix)
32 _bin_pal_cgi_path      = @_PATH($bin_path, pal-cgi)
33 _bin_remap_t_1_path    = @_PATH($bin_path, remap_t_1)
34 _bin_reveal_path       = @_PATH($bin_path, reveal)
35 _bin_reveal_cgi_path   = @_PATH($bin_path, reveal-cgi)
36 _bin_t-1_cgi_path      = @_PATH($bin_path, t-1-cgi)
37
38 _cgi_bluenh_path   = @_PATH($cgi_path, bluenh)
39 _cgi_diff_path     = @_PATH($cgi_path, diff)
40 _cgi_nofading_path = @_PATH($cgi_path, nofading)
41 _cgi_npb_path      = @_PATH($cgi_path, npb)
42 _cgi_pal_path      = @_PATH($cgi_path, pal)
43 _cgi_reveal_path   = @_PATH($cgi_path, reveal)
44 _cgi_t-1_path      = @_PATH($cgi_path, t-1)
45
46 _conf_path = @_PATH($conf_path, $name\.conf)
47
48
49 HTML_TITLE = @_HT_ENCODE(@_HTML_TITLE())
50
51 HTML_BLUENH_PATH   = @_HT_ENCODE($_cgi_bluenh_path)
52 HTML_DIFF_PATH     = @_HT_ENCODE($_cgi_diff_path)
53 HTML_NOFADING_PATH = @_HT_ENCODE($_cgi_nofading_path)
54 HTML_NPB_PATH      = @_HT_ENCODE($_cgi_npb_path)
55 HTML_PAL_PATH      = @_HT_ENCODE($_cgi_pal_path)
56 HTML_REVEAL_PATH   = @_HT_ENCODE($_cgi_reveal_path)
57 HTML_T-1_PATH      = @_HT_ENCODE($_cgi_t-1_path)
58
59
60 CONF_bin      = $bin_path
61 CONF_bin_bluenh   = $_bin_bluenh_cgi_path
62 CONF_bin_diff     = $_bin_diff_cgi_path
63 CONF_bin_nofading = $_bin_nofading_cgi_path
64 CONF_bin_npb      = $_bin_npb_cgi_path
65 CONF_bin_pal      = $_bin_pal_cgi_path
66 CONF_bin_reveal   = $_bin_reveal_cgi_path
67 CONF_bin_t-1      = $_bin_t-1_cgi_path
68
69 CONF_cgi_bluenh   = $_cgi_bluenh_path
70 CONF_cgi_diff     = $_cgi_diff_path
71 CONF_cgi_nofading = $_cgi_nofading_path
72 CONF_cgi_npb      = $_cgi_npb_path
73 CONF_cgi_pal      = $_cgi_pal_path
74 CONF_cgi_reveal   = $_cgi_reveal_path
75 CONF_cgi_t-1      = $_cgi_t-1_path
76
77
78 MAKE_TARGET    = TARGET    = $target
79
80 MAKE_CAT    = CAT  =$cat
81 MAKE_CHMOD  = CHMOD=$chmod
82 MAKE_CP     = CP   =$cp
83 MAKE_MKDIR  = MKDIR=$mkdir
84 MAKE_PERL   = PERL =$perl
85 MAKE_RM     = RM   =$rm
86
87 MAKE_CC    = CC   =$CC
88 MAKE_CF    = CF   =$CF
89 MAKE_L_IL  = L_IL =$L_IL
90 MAKE_L_CGI = L_CGI=$L_CGI
91
92 MAKE_CONF = CONF = $_conf_path
93
94 MAKE_BIN_PATH = BIN_PATH = $bin_path
95 MAKE_TMP_PATH = TMP_PATH = $tmp_path
96 MAKE_WWW_PATH = WWW_PATH = $www_path
97
98
99 C_USERAGENT = @_C_DEFINE_STR(USERAGENT, $useragent)
100
101 C_CP_PATH   = @_C_DEFINE_STR(CP_PATH,   $cp)
102 C_WGET_PATH = @_C_DEFINE_STR(WGET_PATH, $wget)
103 C_RM_PATH   = @_C_DEFINE_STR(RM_PATH,   $rm)
104
105 C_TEMP_PATH = @_C_DEFINE_STR(TEMP_PATH, $tmp_path)
106
107 C_BLUENH_PATH      = @_C_DEFINE_STR(BLUENH_PATH,      $_bin_bluenh_path)
108 C_DIFF_PATH        = @_C_DEFINE_STR(DIFF_PATH,        $_bin_diff_path)
109 C_NOFADING_PATH    = @_C_DEFINE_STR(NOFADING_PATH,    $_bin_nofading_path)
110 C_NPB_PATH         = @_C_DEFINE_STR(NPB_PATH,         $_bin_npb_path)
111 C_PAL_MIX_PATH     = @_C_DEFINE_STR(PAL_MIX_PATH,     $_bin_pal_mix_path)
112 C_PAL_MIXDIFF_PATH = @_C_DEFINE_STR(PAL_MIXDIFF_PATH, $_bin_pal_mixdiff_path)
113 C_PAL_UNMIX_PATH   = @_C_DEFINE_STR(PAL_UNMIX_PATH,   $_bin_pal_unmix_path)
114 C_REMAP_T_1_PATH   = @_C_DEFINE_STR(REMAP_T_1_PATH,   $_bin_remap_t_1_path)
115 C_REVEAL_PATH      = @_C_DEFINE_STR(REVEAL_PATH,      $_bin_reveal_path)