diff --git a/common/makefile b/common/makefile index 4efd80e..4537f02 100644 --- a/common/makefile +++ b/common/makefile @@ -65,10 +65,10 @@ # on any platform, we have to check for this every time we run the # 'make'. This is irritating. -2HTML = $(shell which rst2html.py rst2html | tr '\012' ' ' | awk '{print $1}') -2LATEX = $(shell which rst2latex.py rst2latex | tr '\012' ' ' | awk '{print $1}') --stylesheet=parskip -2ODT = $(shell which rst2odt.py rst2odt | tr '\012' ' ' | awk '{print $1}') -2MAN = $(shell which rst2man.py rst2man | tr '\012' ' ' | awk '{print $1}') +2HTML = $(shell which rst2html.py rst2html | head -n 1) +2LATEX = $(shell which rst2latex.py rst2latex | head -n 1) --stylesheet=parskip +2ODT = $(shell which rst2odt.py rst2odt | head -n 1) +2MAN = $(shell which rst2man.py rst2man | head -n 1) # TeX/LaTeX Processing