From: ellson Date: Wed, 16 Jul 2008 18:43:44 +0000 (+0000) Subject: add configure check for ps2pdf, or pstopdf X-Git-Tag: LAST_LIBGRAPH~32^2~3852 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ddb41e8f7399cbb0459355552dd11310cabd66c;p=graphviz add configure check for ps2pdf, or pstopdf while we're at it, check for groff --- diff --git a/cmd/dot/Makefile.am b/cmd/dot/Makefile.am index 22de2c7b4..6fe386645 100644 --- a/cmd/dot/Makefile.am +++ b/cmd/dot/Makefile.am @@ -60,7 +60,7 @@ uninstall-hook: (cd $(DESTDIR)$(libdir); rm -f config;) dot.pdf: $(top_srcdir)/cmd/dot/dot.1 - -groff -Tps -man $(top_srcdir)/cmd/dot/dot.1 | ps2pdf - - >$@ + - @GROFF@ -Tps -man $(top_srcdir)/cmd/dot/dot.1 | @PS2PDF@ - - >$@ # This automagic technique for building the list of builtins requires that the # symbols be in the binary image, but libtool makes it difficult diff --git a/cmd/dotty/Makefile.am b/cmd/dotty/Makefile.am index 33367c8d2..31999bb9e 100644 --- a/cmd/dotty/Makefile.am +++ b/cmd/dotty/Makefile.am @@ -27,7 +27,7 @@ dotty: $(top_srcdir)/cmd/dotty/dotty.sh endif .1.pdf: - -groff -Tps -man $< | ps2pdf - - >$@ + - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ EXTRA_DIST = $(lefty_DATA) $(man) $(pdf) \ dotty.bsh dotty.ksh dotty.sh \ diff --git a/cmd/gvpr/Makefile.am b/cmd/gvpr/Makefile.am index aa3618fb8..4f0af91dd 100644 --- a/cmd/gvpr/Makefile.am +++ b/cmd/gvpr/Makefile.am @@ -41,7 +41,7 @@ gdefs.h: $(top_srcdir)/cmd/gvpr/gprdata mkdefs ./mkdefs gdefs.h < $(top_srcdir)/cmd/gvpr/gprdata .1.pdf: - -groff -Tps -man $< | ps2pdf - - >$@ + - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ EXTRA_DIST = $(man_MANS) $(pdf_DATA) lib Makefile.old gprdata mkdefs.c gdefs.h diff --git a/cmd/lefty/Makefile.am b/cmd/lefty/Makefile.am index aa83bfa37..41b749168 100644 --- a/cmd/lefty/Makefile.am +++ b/cmd/lefty/Makefile.am @@ -96,7 +96,7 @@ endif endif .1.pdf: - -groff -Tps -man $< | ps2pdf - - >$@ + - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ EXTRA_DIST = $(lefty_DATA) $(man) $(pdf) \ colors.txt Makefile.old aix_mods cs2l/* diff --git a/cmd/lneato/Makefile.am b/cmd/lneato/Makefile.am index 541f41e3e..47332124f 100644 --- a/cmd/lneato/Makefile.am +++ b/cmd/lneato/Makefile.am @@ -25,7 +25,7 @@ lneato: ${top_srcdir}/cmd/lneato/lneato.sh endif .1.pdf: - -groff -Tps -man $< | ps2pdf - - >$@ + - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ EXTRA_DIST = $(man) $(pdf) lneato.bsh lneato.ksh lneato.sh \ Makefile.old mswin32