summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gratz <Stromeko@Stromeko.DE>2014-01-07 21:23:45 +0100
committerAchim Gratz <Stromeko@Stromeko.DE>2014-01-07 21:23:45 +0100
commit6dc83e651d4d8e77a9b8cf146d725fab8517315c (patch)
treeaf48b6f2f502a8705ab399ddd7d3ce8797e3a0f4
parent7d9a883b50e2674fff5ebfc14faaa5f3537dcbee (diff)
downloadorg-mode-6dc83e651d4d8e77a9b8cf146d725fab8517315c.tar.gz
doc/Makefile: avoid spurious whitespace in environment variables
* doc/Makefile (%.pdf): Ensure that LANG and LC_ALLĀ are set to "C", not "C " (with trailing whitespace). Make evaluation order produces spurious whitespace in variables when a variable definition is followed by whitespace plus a comment.
-rw-r--r--doc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 234ab7e..2c8a3c5 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -54,8 +54,9 @@ clean-install:
%: %.texi org-version.inc
$(MAKEINFO) --no-split $< -o $@
-%.pdf: LC_ALL=C # work around a bug in texi2dvi
-%.pdf: LANG=C # work around a bug in texi2dvi
+# the following two lines work around a bug in some versions of texi2dvi
+%.pdf: LC_ALL=C
+%.pdf: LANG=C
%.pdf: %.texi org-version.inc
$(TEXI2PDF) $<
%.pdf: %.tex