From 9b83a411b9df27ca3a626c6ee20d35168221e782 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 31 Jul 2014 17:49:04 -0700 Subject: [PATCH] tools: set LANG only if not already set, document better --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d699639b4..b23006dc0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ # hledger project makefile -# ghc 6.12 executables need a locale -export LANG=en_US.UTF-8 +# GHC-compiled executables require a locale (and not just C) or they +# will die on encountering non-ascii data +export LANG?=en_US.UTF-8 # command to run during "make prof" and "make heap" PROFCMD=bin/hledger-prof balance -f data/1000x1000x10.journal >/dev/null