According to jema...@gnu.org on 2/25/2010 4:26 PM:
> I heavily expanded the _prohibit_regexp macro to accept more arguments
> and renamed it to _sc_search_regexp. Using the new parameters it is
> possible to write rules like:
>
> # Ensure that each .c file containing a "main" function also
> # ca
> I suggest to use the following solution that works properly in all
> cases while avoiding the code duplication (in the spirit of
> _prohibit_regexp):
Good idea.
I heavily expanded the _prohibit_regexp macro to accept more arguments
and renamed it to _sc_search_regexp. Using the ne
> define _sc_maybe_matching_files
> dummy=; : so we do not need a semicolon before each use; \
> test "x$$re" != x || { echo '$(ME): re not defined' 1>&2; exit 1; }; \
> if test -n "$$matching"; then matching='yes'; fi\
> files=$$($(VC_LIST_EXCEPT) | grep
jema...@gnu.org wrote:
...
> I suggest to use the following solution that works properly in all
> cases while avoiding the code duplication (in the spirit of
> _prohibit_regexp):
Good idea.
> define _sc_maybe_matching_files
> dummy=; : so we do not need a semicolon before each use;
On 22/02/10 15:08, jema...@gnu.org wrote:
Would it be better to just add /dev/null as a parameter to grep?
I.E. like:
@grep -nE 'error \(EXIT_SUCCESS,' \
$$($(VC_LIST_EXCEPT) /dev/null | grep -E '\.[chly]$$')&&
\
Would it be better to just add /dev/null as a parameter to grep?
I.E. like:
@grep -nE 'error \(EXIT_SUCCESS,'\
$$($(VC_LIST_EXCEPT) /dev/null | grep -E '\.[chly]$$')&& \
{ echo '$(ME): found error (EXIT_SUCCESS' 1>&2; exit 1
According to Pádraig Brady on 2/22/2010 6:40 AM:
> On 21/02/10 13:43, jema...@gnu.org wrote:
>>
>> Hi.
>>
>> Just another little patch to avoid some of the sc_* rules to freeze if
>> the filtering of VC_LIST_EXCEPT gives an empty string (for example,
>> 'make sc_error_exit_success' freezes if there
Pádraig Brady wrote:
...
> Would it be better to just add /dev/null as a parameter to grep?
> I.E. like:
>
> @grep -nE 'error \(EXIT_SUCCESS,' \
> $$($(VC_LIST_EXCEPT) /dev/null | grep -E '\.[chly]$$')&&\
> { echo '$(ME): found error (EXIT_S
On 21/02/10 13:43, jema...@gnu.org wrote:
Hi.
Just another little patch to avoid some of the sc_* rules to freeze if
the filtering of VC_LIST_EXCEPT gives an empty string (for example,
'make sc_error_exit_success' freezes if there are not source files in
${srcdir}/).
I found this problem due t
Hi.
Just another little patch to avoid some of the sc_* rules to freeze if
the filtering of VC_LIST_EXCEPT gives an empty string (for example,
'make sc_error_exit_success' freezes if there are not source files in
${srcdir}/).
I found this problem due to the bazaar issue in vc-list-files.
2010-
10 matches
Mail list logo