{"category_id":"repository","default_severity":"warning","description":"Read `make [-C <dir>] <target>` commands in code spans and shell code blocks of every tracked .md file. Resolve `-C` against the repository root or the page's directory and a bare command against every tracked Makefile, following tracked includes and literal variables. Warn when no resolved Makefile defines the target as a rule or pattern rule. Commands with -f, placeholders, or Makefiles using unresolvable includes, variables or generated rules are skipped.","examples":[{"after":"{\"makefile\":\"check:\\n\",\"readme\":\"`make check`\"}","before":"{\"makefile\":\"check:\\n\",\"readme\":\"`make lint`\"}","expected_severity":"warning","id":"sarj-documentation-make-targets","language":"json","title":"Run a target the Makefile defines"}],"fix":"Name the current target or remove the stale command. No autofix.","kind":"rule","references":[],"rule_id":"repository/documentation/make-targets","rule_version":1,"slug":"markdown-make-targets","source":{"path":"src/repo_standards/policy_sarj/policy.py","symbol":"repository/documentation/make-targets"},"title":"Name existing Make targets in Markdown commands","topic_id":"documentation","why":"Renaming or deleting a Make target leaves runbooks naming a command that fails, so operators and agents stop at the first step."}
