Skip to content

Commit 6bbe402

Browse files
committed
Don't build cheops.pdf when pdflatex is not available
1 parent 8b525e8 commit 6bbe402

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Makefile.am

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ AUTOMAKE_OPTIONS = dist-bzip2 dist-zip
1212
man_MANS = doc/cheops.6
1313
EXTRA_DIST = doc/cheops.tex $(man_MANS) README.md
1414
SUBDIRS = src doc
15-
doc_DATA = COPYING NEWS AUTHORS THANKS README doc/cheops.pdf
15+
doc_DATA = COPYING NEWS AUTHORS THANKS README
16+
17+
if HAVE_PDFLATEX
18+
doc_DATA += doc/cheops.pdf
19+
endif
1620

1721
README: README.md
1822
cp $< $@

THANKS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ CHEOPS was originally written by Tristan Miller
22
<psychonaut@nothingisreal.com>. Anyone who further contributes to
33
this program by reporting problems, suggesting improvements, etc.,
44
will be listed here.
5+
6+
Thanks to Matt K. for reporting a problem with how the documentation
7+
is built.

0 commit comments

Comments
 (0)