remake  4.3+dbg-1.5
setqx.h
Go to the documentation of this file.
1 /* Copyright (C) 2011, 2015 R. Bernstein <rocky@gnu.org>
2 This file is part of GNU Make (remake variant).
3 
4 GNU Make 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, or (at your option)
7 any later version.
8 
9 GNU Make 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 GNU Make; see the file COPYING. If not, write to
16 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA. */
18 
19 /* Set a variable definition without variable references but don't
20  expand variable references in the value part of psz_string. */
21 static debug_return_t
22 dbg_cmd_setqx(char *psz_string)
23 {
24  dbg_cmd_set_var(psz_string, 1);
25  return debug_readloop;
26 }
27 
28 static void
29 dbg_cmd_setqx_init(unsigned int c)
30 {
31  short_command[c].func = &dbg_cmd_setqx;
32  short_command[c].use = _("setqx VARIABLE VALUE");
33  short_command[c].doc =
34  _("Set MAKE variable VARIABLE to VALUE. Variable definitions\n"
35  "\tinside VALUE is expanded before assignment occurs."
36 "\nSee also 'setq'.");
37 }
38 
39 
40 
41 /*
42  * Local variables:
43  * eval: (c-set-style "gnu")
44  * indent-tabs-mode: nil
45  * End:
46  */
debug_return_t
Definition: trace.h:32
#define _(msgid)
Definition: make.h:293
Definition: trace.h:40