4 # Copyright (C) 2022 Balthasar SzczepaĆski
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU Affero General Public License as
8 # published by the Free Software Foundation, either version 3 of the
9 # License, or (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU Affero General Public License for more details.
16 # You should have received a copy of the GNU Affero General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 _C_DEFINE_STR: #define $0 "@_ESCAPE($1)"
20 # _C_INCLUDE_STR: #include "@_ESCAPE($0)"
22 _bin_bluenh_path = @_PATH($bin_path, bluenh)
23 _bin_bluenh_cgi_path = @_PATH($bin_path, bluenh-cgi)
24 _bin_nofading_path = @_PATH($bin_path, nofading)
25 _bin_nofading_cgi_path = @_PATH($bin_path, nofading-cgi)
26 _bin_npb_path = @_PATH($bin_path, npb)
27 _bin_npb_cgi_path = @_PATH($bin_path, npb-cgi)
29 _conf_path = @_PATH($conf_path, $name\.conf)
31 HTML_TITLE = @_HTML_TITLE()
35 CONF_bluenh = $_bin_bluenh_cgi_path
36 CONF_nofading = $_bin_nofading_cgi_path
39 MAKE_CONFIGURE = CONFIGURE = $configure
40 MAKE_TARGET = TARGET = $target
43 MAKE_CHMOD = CHMOD=$chmod
45 MAKE_MKDIR = MKDIR=$mkdir
46 MAKE_PERL = PERL =$perl
51 MAKE_L_IL = L_IL =$L_IL
52 MAKE_L_CGI = L_CGI=$L_CGI
54 MAKE_CONF = CONF = $_conf_path
56 MAKE_BIN_PATH = BIN_PATH = $bin_path
57 MAKE_TMP_PATH = TMP_PATH = $tmp_path
58 MAKE_WWW_PATH = WWW_PATH = $www_path
61 C_USERAGENT = @_C_DEFINE_STR(USERAGENT, $useragent)
63 C_CP_PATH = @_C_DEFINE_STR(CP_PATH, $cp)
64 C_WGET_PATH = @_C_DEFINE_STR(WGET_PATH, $wget)
65 C_RM_PATH = @_C_DEFINE_STR(RM_PATH, $rm)
67 C_TEMP_PATH = @_C_DEFINE_STR(TEMP_PATH, $tmp_path)
69 C_BLUENH_PATH = @_C_DEFINE_STR(BLUENH_PATH, $_bin_bluenh_path)
70 C_NOFADING_PATH = @_C_DEFINE_STR(NOFADING_PATH, $_bin_nofading_path)
71 C_NPB_PATH = @_C_DEFINE_STR(NPB_PATH, $_bin_npb_path)