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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user