user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 4/4] doc: check-man: save the result of successful runs
  2019-11-14  6:41  4% [PATCH 0/4] some minor test updates Eric Wong
@ 2019-11-14  6:41  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-11-14  6:41 UTC (permalink / raw)
  To: meta

We can keep a stamp around if the corresponding manpage hasn't
changed to avoid re-running man(1) and awk(1).
---
 .gitignore               |  1 +
 Documentation/include.mk | 13 +++++++------
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore
index 66f165e2..167d08bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@
 *.8
 *.html
 *.gz
+.*.cols
 /NEWS.html
 /NEWS.atom
 /NEWS
diff --git a/Documentation/include.mk b/Documentation/include.mk
index ea0498c1..651fdf30 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -93,14 +93,15 @@ doc_install :: install-man
 
 check :: check-man
 check_man = @echo CHECK80 $<;COLUMNS=80 $(MAN) ./$^ | \
-	$(AWK) '{gsub(/\b./,"")}length>80{print;err=1}END{exit(err)}' >&2
+	$(AWK) '{gsub(/\b./,"")}length>80{print;err=1}END{exit(err)}' >&2 \
+	&& >$@
 
-%.1.cols : %.1; $(check_man)
-%.5.cols : %.5; $(check_man)
-%.7.cols : %.7; $(check_man)
-%.8.cols : %.8; $(check_man)
+.%.1.cols : %.1; $(check_man)
+.%.5.cols : %.5; $(check_man)
+.%.7.cols : %.7; $(check_man)
+.%.8.cols : %.8; $(check_man)
 
-check-man :: $(addsuffix .cols, $(manpages))
+check-man :: $(addprefix .,$(addsuffix .cols, $(manpages)))
 
 manuals :=
 manuals += $(m1)

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/4] some minor test updates
@ 2019-11-14  6:41  4% Eric Wong
  2019-11-14  6:41  7% ` [PATCH 4/4] doc: check-man: save the result of successful runs Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2019-11-14  6:41 UTC (permalink / raw)
  To: meta

A few minor, low impact improvements to avoid loading
and running redundant code while I'm ironing out some
major test improvements.

Eric Wong (4):
  t/common: inline stream_to_string into t/feed.t
  t/common: move unix_server to t/httpd-corner.t
  t/psgi_mount: require SearchIdx before using
  doc: check-man: save the result of successful runs

 .gitignore               |  1 +
 Documentation/include.mk | 13 +++++++------
 t/common.perl            | 21 ---------------------
 t/feed.t                 |  9 ++++++++-
 t/httpd-corner.t         | 10 ++++++++++
 t/psgi_mount.t           |  3 ++-
 6 files changed, 28 insertions(+), 29 deletions(-)


^ permalink raw reply	[relevance 4%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-11-14  6:41  4% [PATCH 0/4] some minor test updates Eric Wong
2019-11-14  6:41  7% ` [PATCH 4/4] doc: check-man: save the result of successful runs Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).