1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 02:14:12 +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:
Ted Pavlic
2009-01-21 10:17:37 -05:00
parent eb88d7ea0b
commit 9ad451b7f7
2 changed files with 4 additions and 3 deletions

View File

@@ -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)

View File

@@ -1 +0,0 @@
../../../common/Makefile.doc

View File

@@ -0,0 +1,2 @@
BASE = ../../../common
include $(BASE)/Makefile.doc