[pacman-dev] [PATCH] doc: keep manpages and html pages in sync

Eli Schwartz eschwartz at archlinux.org
Sun Jan 13 01:22:27 UTC 2019


We forgot to add BUILDINFO to the list of html docs. Instead of always
updating things in two places, just derive the one from the other.

meson did not have this problem as it already derives both lists from
one template.

Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
 doc/Makefile.am | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 4bb0f01b..de87c409 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -20,19 +20,7 @@ MANPAGES = \
 
 DOXYGEN_MANS = $(wildcard man3/*.3)
 
-HTML_MANPAGES = \
-	alpm-hooks.5.html \
-	pacman.8.html \
-	makepkg.8.html \
-	makepkg-template.1.html \
-	repo-add.8.html \
-	vercmp.8.html \
-	pkgdelta.8.html \
-	pacman-key.8.html \
-	PKGBUILD.5.html \
-	makepkg.conf.5.html \
-	pacman.conf.5.html \
-	libalpm.3.html
+HTML_MANPAGES = $(addsuffix .html,$(MANPAGES))
 
 HTML_OTHER = \
 	index.html \
-- 
2.20.1


More information about the pacman-dev mailing list