]> git.ipfire.org Git - thirdparty/man-pages.git/commit
share/mk/: Reduce rebuilds, and simplify makefile code
authorAlejandro Colomar <alx@kernel.org>
Thu, 11 Sep 2025 08:41:54 +0000 (10:41 +0200)
committerAlejandro Colomar <alx@kernel.org>
Thu, 11 Sep 2025 11:48:11 +0000 (13:48 +0200)
commite5785f41de66d15a1afef5c259093c8942dfc86e
tree8e2454b7ef08ca3af247b7d2e4066f29b09c0ff0
parent1d0de88ebe324b704c8584b8ea9472bb3027478c
parentbd98df4189acdacf2d930818cf60bb5840e2153a
share/mk/: Reduce rebuilds, and simplify makefile code

I've verified that the build system produces the same amount of files
with 'make -R -j24 -k lint build-all check'.  This was just to make sure
there are no silent regressions.

$ diff -u \
<(find ~/src/linux/man-pages/man-pages/contrib/.tmp/ -type f \
| sed s/contrib/X/ \
| sort) \
<(find ~/src/linux/man-pages/man-pages/main/.tmp/ -type f \
| sed s/main/X/ \
| sort);
--- /dev/fd/63 2025-09-11 10:44:37.386884907 +0200
+++ /dev/fd/62 2025-09-11 10:44:37.386884907 +0200
@@ -3,7 +3,7 @@
 /home/alx/src/linux/man-pages/man-pages/X/.tmp/fonts/devpdf/TinosR
 /home/alx/src/linux/man-pages/man-pages/X/.tmp/fonts/devpdf/TinosR.afm
 /home/alx/src/linux/man-pages/man-pages/X/.tmp/fonts/devpdf/download
-/home/alx/src/linux/man-pages/man-pages/X/.tmp/man-pages-6.15-85-gbd98df418.pdf
+/home/alx/src/linux/man-pages/man-pages/X/.tmp/man-pages-6.15-77-g1d0de88eb.pdf
 /home/alx/src/linux/man-pages/man-pages/X/.tmp/man/man1/diffman-git.1
 /home/alx/src/linux/man-pages/man-pages/X/.tmp/man/man1/diffman-git.1.cat
 /home/alx/src/linux/man-pages/man-pages/X/.tmp/man/man1/diffman-git.1.cat.grep

The file contents are slightly different, but that's because for some
reason groff(1) is not reproducible; I've checked some samples, and the
differences seem trivial, and unrelated to these build-system changes.
I've reported to the groff@ mailing list the lack of reproducibility of
groff(1).

Signed-off-by: Alejandro Colomar <alx@kernel.org>