From 8411a8e8b4aaa72ae32ea78f295cd94eb5b1bd4a Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sat, 14 Mar 2009 13:16:55 +0000 Subject: [PATCH] * man/Makefile.am: Compute the dependencies for building the manpages. --- ChangeLog | 5 +++++ man/Makefile.am | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 718b2a6a..2a865c3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-03-14 Nicolas François + + * man/Makefile.am: Compute the dependencies for building the + manpages. + 2009-03-14 Nicolas François * libmisc/addgrps.c: Fix warnings. diff --git a/man/Makefile.am b/man/Makefile.am index a2eeb39a..3ef7b9de 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -170,8 +170,13 @@ EXTRA_DIST = \ generate_mans.mak \ generate_translations.mak +generate_mans.deps: *.xml + awk 'BEGIN{FS="\"";} /^$$/{ f=FILENAME; sub(/.xml/,"",f); print f ": " $$2 }' $(man_XMANS) > $@ + if ENABLE_REGENERATE_MAN +include generate_mans.deps + include generate_mans.mak CLEANFILES = $(man_MANS)