mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-06 18:05:45 +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
|
#### configuration
|
||||||
|
|
||||||
LOCALE = $(shell basename `pwd`)
|
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_SRC_FILES = $(wildcard *.txt)
|
||||||
ADC_FILES = $(ADC_SRC_FILES:%.txt=%.html)
|
ADC_FILES = $(ADC_SRC_FILES:%.txt=%.html)
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
../../../common/Makefile.doc
|
|
||||||
2
muttator/locale/en-US/Makefile
Normal file
2
muttator/locale/en-US/Makefile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
BASE = ../../../common
|
||||||
|
include $(BASE)/Makefile.doc
|
||||||
Reference in New Issue
Block a user