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_diff_path = @_PATH($bin_path, diff)
25 _bin_diff_cgi_path = @_PATH($bin_path, diff-cgi)
26 _bin_nofading_path = @_PATH($bin_path, nofading)
27 _bin_nofading_cgi_path = @_PATH($bin_path, nofading-cgi)
28 _bin_npb_path = @_PATH($bin_path, npb)
29 _bin_npb_cgi_path = @_PATH($bin_path, npb-cgi)
30 _bin_reveal_path = @_PATH($bin_path, reveal)
31 _bin_reveal_cgi_path = @_PATH($bin_path, reveal-cgi)
33 _conf_path = @_PATH($conf_path, $name\.conf)
35 HTML_TITLE = @_HTML_TITLE()
39 CONF_bluenh = $_bin_bluenh_cgi_path
40 CONF_diff = $_bin_diff_cgi_path
41 CONF_nofading = $_bin_nofading_cgi_path
42 CONF_reveal = $_bin_reveal_cgi_path
45 MAKE_CONFIGURE = CONFIGURE = $configure
46 MAKE_TARGET = TARGET = $target
49 MAKE_CHMOD = CHMOD=$chmod
51 MAKE_MKDIR = MKDIR=$mkdir
52 MAKE_PERL = PERL =$perl
57 MAKE_L_IL = L_IL =$L_IL
58 MAKE_L_CGI = L_CGI=$L_CGI
60 MAKE_CONF = CONF = $_conf_path
62 MAKE_BIN_PATH = BIN_PATH = $bin_path
63 MAKE_TMP_PATH = TMP_PATH = $tmp_path
64 MAKE_WWW_PATH = WWW_PATH = $www_path
67 C_USERAGENT = @_C_DEFINE_STR(USERAGENT, $useragent)
69 C_CP_PATH = @_C_DEFINE_STR(CP_PATH, $cp)
70 C_WGET_PATH = @_C_DEFINE_STR(WGET_PATH, $wget)
71 C_RM_PATH = @_C_DEFINE_STR(RM_PATH, $rm)
73 C_TEMP_PATH = @_C_DEFINE_STR(TEMP_PATH, $tmp_path)
75 C_BLUENH_PATH = @_C_DEFINE_STR(BLUENH_PATH, $_bin_bluenh_path)
76 C_DIFF_PATH = @_C_DEFINE_STR(DIFF_PATH, $_bin_diff_path)
77 C_NOFADING_PATH = @_C_DEFINE_STR(NOFADING_PATH, $_bin_nofading_path)
78 C_NPB_PATH = @_C_DEFINE_STR(NPB_PATH, $_bin_npb_path)
79 C_REVEAL_PATH = @_C_DEFINE_STR(REVEAL_PATH, $_bin_reveal_path)