1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 06:04:12 +01:00

Changed awk to $(AWK) in Makefile.doc.

This commit is contained in:
Ted Pavlic
2009-01-21 11:02:52 -05:00
parent 74c04cc49b
commit 48be1c8df7

View File

@@ -2,8 +2,11 @@
#### configuration
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]\{2\}$$/) ? $$1 : "en" }')
ADC_SRC_FILES = $(wildcard *.txt)
ADC_FILES = $(ADC_SRC_FILES:%.txt=%.html)
@@ -11,9 +14,6 @@ ADC_DEPS = $(wildcard asciidoc.conf lang-$(LANG).conf)
DOC_FILES = $(ADC_FILES) $(T2T_FILES)
ASCIIDOC = asciidoc
AWK = awk
.SILENT:
#### rules