aports/testing/hub/no-txt-man-pages.patch
Celeste 0029f1e431 testing/hub: don't convert man pages to text
`col` is no longer available in `util-linux`
2024-05-18 03:49:57 +00:00

14 lines
373 B
Diff

`col` is no longer available in `util-linux`, and these
txt files aren't installed into the final package anyway
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@
fmt:
go fmt ./...
-man-pages: $(HELP_ALL:=.md) $(HELP_ALL) $(HELP_ALL:=.txt)
+man-pages: $(HELP_ALL:=.md) $(HELP_ALL)
%.txt: %
groff -Wall -mtty-char -mandoc -Tutf8 -rLL=$(TEXT_WIDTH)n $< | col -b >$@