summaryrefslogtreecommitdiff
path: root/common/Makefile.doc
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2009-01-21 14:53:12 -0500
committerKris Maglione <maglione.k@gmail.com>2009-01-21 14:53:12 -0500
commit91c5485c421ae4ca70a984097e2d32b41a6c64c4 (patch)
tree259bef691b8cf9d26936f8f87b318fce243f21e8 /common/Makefile.doc
parentf36748338b299e3fad3e614a080c49609536b44d (diff)
downloadpentadactyl-91c5485c421ae4ca70a984097e2d32b41a6c64c4.tar.gz
Fix LANG setting in Makefile.doc. Remove extra indentation in messages.
Diffstat (limited to 'common/Makefile.doc')
-rw-r--r--common/Makefile.doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Makefile.doc b/common/Makefile.doc
index e7cf6b81..fb9a43ee 100644
--- a/common/Makefile.doc
+++ b/common/Makefile.doc
@@ -6,7 +6,7 @@ ASCIIDOC = asciidoc
AWK = awk
LOCALE = $(shell basename `pwd`)
-LANG = $(shell basename `pwd` | $(AWK) -F- '{ print ($$1 ~ /^[a-z]\{2\}$$/) ? $$1 : "en" }')
+LANG = $(shell basename `pwd` | $(AWK) -F- '{ print ($$1 ~ /^[a-z][a-z]$$/) ? $$1 : "en" }')
ADC_SRC_FILES = $(wildcard *.txt)
ADC_FILES = $(ADC_SRC_FILES:%.txt=%.html)