commit: 2634624ac993af9b2c5556f451dc3c7db30232d4
parent 4f261c2341985ce8f3084660b5f9f66db593f786
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 22 Feb 2022 00:08:54 +0100
configure: filter manpages of EXE targets
Diffstat:
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
@@ -165,8 +165,15 @@ then
LIBBSD_CFLAGS="$("${PKGCONFIG}" --cflags libbsd-overlay) -DHAVE_LIBBSD"
LIBBSD_LIBS="$("${PKGCONFIG}" --libs libbsd-overlay)"
else
- echo 'strings.c' >> bin/target_filter || exit 1 # strtonum
- echo 'humanize.c' >> bin/target_filter || exit 1 # humanize_number
+ cat >> bin/target_filter <<EOF
+# strtonum
+strings.c
+strings.1
+# humanize_number
+humanize.c
+humanize.1
+EOF
+ test $? -eq 0 || exit 1
fi
echo