From 7df50cba4633e8f80d8d549177556afa2eb2bb24 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Tue, 25 Apr 2006 11:13:33 +0000 Subject: [PATCH] Check dtplite is really available --- Makefile.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 194e30a..33246d7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -191,11 +191,14 @@ DTPLITE=@DTPLITE@ doc: udp.n udp.n: $(srcdir)/doc/udp.man - test -x $(DTPLITE) && $(DTPLITE) -o $@ nroff $(srcdir)/doc/udp.man + @if [ -n "$(DTPLITE)" -a -x "$(DTPLITE)" ]; then \ + $(DTPLITE) -o $@ nroff $(srcdir)/doc/udp.man ; \ + fi udp.html: $(srcdir)/doc/udp.man - test -x $(DTPLITE) && $(DTPLITE) -o $@ html $(srcdir)/doc/udp.man - + @if [ -n "$(DTPLITE)" -a -x "$(DTPLITE)" ]; then \ + $(DTPLITE) -o $@ html $(srcdir)/doc/udp.man ; \ + fi install: all install-binaries install-libraries install-doc -- 2.23.0