mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 00:14:14 +01:00
Three small Makefile.doc fixes.
* Require language part of locale to be two lowercase letters. * Update Makefile.doc comment -- add "include" comment. * Get rid of muttator/locale/en-US/Makefile symlink in favor of include.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Symlink me to locale/*/Makefile
|
||||
# Symlink or me to (or include me from) locale/*/Makefile
|
||||
|
||||
#### configuration
|
||||
|
||||
LOCALE = $(shell basename `pwd`)
|
||||
LANG = $(shell basename `pwd` | awk -F- '{ print ($$1 ~ /^..$$/) ? $$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)
|
||||
|
||||
Reference in New Issue
Block a user