From: patthoyts Date: Tue, 25 Apr 2006 11:13:33 +0000 (+0000) Subject: Check dtplite is really available X-Git-Tag: tcludp-1_0_8~9 X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=7df50cba4633e8f80d8d549177556afa2eb2bb24;p=tcludp Check dtplite is really available --- 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