]> granicus.if.org Git - graphviz/commit
Do not fail if ps2pdf is present and the .pdf files exist
authorPierre Labastie <pierre.labastie@neuf.fr>
Tue, 15 Sep 2020 08:42:18 +0000 (10:42 +0200)
committerPierre Labastie <pierre.labastie@neuf.fr>
Mon, 21 Sep 2020 10:21:24 +0000 (12:21 +0200)
commitb7be7c0913d27d483e1dc490b5ade301dc95730e
treefeef4f57e7d6ca7ddfc1bcb65a0e6f68b079c753
parent37ee115a779092feabd61ac11f1faec80b955783
Do not fail if ps2pdf is present and the .pdf files exist

If ps2pdf is not present on the system, the build
fails even if the .pdf files exist. The reason is that the .ps
files are created on the fly, and they are more recent than the
distributed .pdf. Makefile then runs "false <something>", which
obviously fails.

Setting PS2PDF to "true" is not a solution because we do not
want to ignore when the .pdf files are really absent.

This patch makes running $(PS2PDF) conditional, but still
imposes the .pdf files to be generated when running "make dist".
28 files changed:
cmd/dot/Makefile.am
cmd/dotty/Makefile.am
cmd/edgepaint/Makefile.am
cmd/gvedit/Makefile.am
cmd/gvmap/Makefile.am
cmd/gvpr/Makefile.am
cmd/lefty/Makefile.am
cmd/lneato/Makefile.am
cmd/mingle/Makefile.am
cmd/smyrna/Makefile.am
cmd/tools/Makefile.am
configure.ac
contrib/diffimg/Makefile.am
contrib/prune/Makefile.am
lib/cdt/Makefile.am
lib/cgraph/Makefile.am
lib/expr/Makefile.am
lib/gvc/Makefile.am
lib/gvpr/Makefile.am
lib/inkpot/Makefile.am
lib/pack/Makefile.am
lib/pathplan/Makefile.am
lib/xdot/Makefile.am
plugin/xlib/Makefile.am
tclpkg/gdtclft/Makefile.am
tclpkg/gv/Makefile.am
tclpkg/tcldot/Makefile.am
tclpkg/tkspline/Makefile.am