On 03/07/2014 06:45 AM, Ján Tomko wrote: > Some of these are leftovers from renaming the files, others > are just typos. > > Also introduce an ugly awk script to enforce this. > --- > cfg.mk | 25 +++++++++++++++++++++++++
> +++ b/cfg.mk
> @@ -863,6 +863,31 @@ sc_prohibit_atoi:
> halt='Use virStrToLong* instead of atoi, atol, atof, atoq, atoll' \
> $(_sc_search_regexp)
>
> +# Don't
> +sc_prohibit_wrong_filename_in_comment:
> + @fail=0;
> \
> + awk 'BEGIN {
> \
> + fail=0;
> \
Looks like a lot of indentation. You could collapse it to 2- or 4-space
indents, so you aren't having such long lines everywhere (you need the
initial TAB indent to keep make happy, but that doesn't mean everything
else needs that much).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
