Skip to content

Commit be27985

Browse files
committed
Only run xmlto once
Signed-off-by: Tim Waugh <[email protected]>
1 parent 3b55ed1 commit be27985

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile.am

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ src_rediff_LDADD = @LIBOBJS@
3030

3131
if HAVE_XMLTO
3232
# The man pages are generated from DocBook XML.
33-
man_MANS = doc/interdiff.1 doc/filterdiff.1 doc/fixcvsdiff.1 doc/rediff.1 \
33+
interdiff_manpage = doc/interdiff.1
34+
other_manpages = doc/filterdiff.1 doc/fixcvsdiff.1 doc/rediff.1 \
3435
doc/editdiff.1 doc/combinediff.1 doc/lsdiff.1 doc/splitdiff.1 \
3536
doc/grepdiff.1 doc/recountdiff.1 doc/unwrapdiff.1 doc/dehtmldiff.1 \
3637
doc/flipdiff.1 doc/espdiff.1 doc/patchview.1
38+
man_MANS = $(interdiff_manpage) $(other_manpages)
3739

38-
$(man_MANS): doc/patchutils.xml
40+
$(other_manpages): $(interdiff_manpage)
41+
$(interdiff_manpage): doc/patchutils.xml
3942
$(XMLTO) man -o doc $<
4043
endif
4144

0 commit comments

Comments
 (0)