summaryrefslogtreecommitdiffstats
path: root/mklint.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to makelMattias Andrée2022-01-041-225/+0
| | | | | | | | | | | Suggested by Laslo Hunhold, "Makel" is German for defect, deficiency, impurity, or imperfection (both singular and plural); a flaw. This change is to avoid confusion between make(1) and mk(1) Signed-off-by: Mattias Andrée <maandree@kth.se>
* miscMattias Andrée2022-01-041-4/+38
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove unnecessary bracketsMattias Andrée2022-01-021-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Lint line continuation and whitespace issuesMattias Andrée2022-01-011-2/+145
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Move some functions into makefile.cMattias Andrée2022-01-011-87/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Validate UTF-8 encoding and check for long linesMattias Andrée2022-01-011-92/+29
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* improve WC_EXTRA_MAKEFILE warningNRK2022-01-011-3/+4
| | | | | | | | | | | | | | currently if open_default_makefile() finds a standard makefile it will print info message but then warn about the same file being "additional." [nrk mklint master]% ./mklint ./mklint: [info] found standard makefile to use: Makefile (-wmakefile) ./mklint: [warn] found additional standard makefile: Makefile (-wextra-makefile) this makes it so that it doesn't produce warning about the the makefile that it already found as "additional." also declares the default_makefiles pointer as const for good measures.
* Rename to mklint to avoid confusion with pre-existing tool with opposite goalMattias Andrée2022-01-011-0/+197
Signed-off-by: Mattias Andrée <maandree@kth.se>