endif
-_LINT_man_blank := $(tgts)
-
-
-$(_LINT_man_blank): %.lint-man.blank.touch: % $(MK) | $$(@D)/
+$(tgts): %.lint-man.blank.touch: % $(MK) | $$(@D)/
$(info $(INFO_)GREP $@)
$(CAT) <$< \
| if $(GREP) '^$$' >/dev/null; then \
.PHONY: lint-man-blank
-lint-man-blank: $(_LINT_man_blank);
+lint-man-blank: $(tgts);
undefine ext
tgts := $(filter-out $(patsubst %, $(_MANDIR)/%$(ext), $(file < $(xfail))), $(tgts))
endif
-_LINT_man_mandoc := $(tgts)
-
mandoc_man_ignore_grep := $(MAKEFILEDIR)/lint/man/mandoc.ignore.grep
-$(_LINT_man_mandoc): %.lint-man.mandoc.touch: % $(mandoc_man_ignore_grep) $(MK) | $$(@D)/
+$(tgts): %.lint-man.mandoc.touch: % $(mandoc_man_ignore_grep) $(MK) | $$(@D)/
$(info $(INFO_)MANDOC $@)
! ($(MANDOC) $(MANDOCFLAGS_) $< 2>&1 \
| $(GREP) -v -f '$(mandoc_man_ignore_grep)' \
.PHONY: lint-man-mandoc
-lint-man-mandoc: $(_LINT_man_mandoc);
+lint-man-mandoc: $(tgts);
undefine ext
endif
-_LINT_man_quote := $(tgts)
-
-
quote_Pgrep := $(MAKEFILEDIR)/lint/man/quote.Pgrep
-$(_LINT_man_quote): %.lint-man.quote.touch: % $(quote_Pgrep) $(MK) | $$(@D)/
+$(tgts): %.lint-man.quote.touch: % $(quote_Pgrep) $(MK) | $$(@D)/
$(info $(INFO_)GREP $@)
$(CAT) <$< \
| if $(GREP) -Pf $(quote_Pgrep) >/dev/null; then \
.PHONY: lint-man-quote
-lint-man-quote: $(_LINT_man_quote);
+lint-man-quote: $(tgts);
undefine ext
endif
-_LINT_man_so := $(tgts)
-
-
-$(_LINT_man_so): %.lint-man.so.touch: % $(MK) | $$(@D)/
+$(tgts): %.lint-man.so.touch: % $(MK) | $$(@D)/
$(info $(INFO_)FIND $@)
$(GREP) '^\.so ' <$< \
| $(CUT) -f2 -d' ' \
.PHONY: lint-man-so
-lint-man-so: $(_LINT_man_so);
+lint-man-so: $(tgts);
undefine ext
endif
-_LINT_man_ws := $(tgts)
-
-
ws_egrep := $(MAKEFILEDIR)/lint/man/ws.egrep
-$(_LINT_man_ws): %.lint-man.ws.touch: % $(ws_egrep) $(MK) | $$(@D)/
+$(tgts): %.lint-man.ws.touch: % $(ws_egrep) $(MK) | $$(@D)/
$(info $(INFO_)GREP $@)
$(CAT) <$< \
| if $(GREP) -Ef $(ws_egrep) >/dev/null; then \
.PHONY: lint-man-ws
-lint-man-ws: $(_LINT_man_ws);
+lint-man-ws: $(tgts);
undefine ext