mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-13 00:05:45 +01:00
Changed awk to $(AWK) in Makefile.doc.
This commit is contained in:
@@ -2,8 +2,11 @@
|
|||||||
|
|
||||||
#### configuration
|
#### configuration
|
||||||
|
|
||||||
|
ASCIIDOC = asciidoc
|
||||||
|
AWK = awk
|
||||||
|
|
||||||
LOCALE = $(shell basename `pwd`)
|
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_SRC_FILES = $(wildcard *.txt)
|
||||||
ADC_FILES = $(ADC_SRC_FILES:%.txt=%.html)
|
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)
|
DOC_FILES = $(ADC_FILES) $(T2T_FILES)
|
||||||
|
|
||||||
ASCIIDOC = asciidoc
|
|
||||||
AWK = awk
|
|
||||||
|
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
#### rules
|
#### rules
|
||||||
|
|||||||
Reference in New Issue
Block a user