diff --git a/common/Makefile.doc b/common/Makefile.doc index 48c81e4e..b23e92fd 100644 --- a/common/Makefile.doc +++ b/common/Makefile.doc @@ -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) diff --git a/muttator/locale/en-US/Makefile b/muttator/locale/en-US/Makefile deleted file mode 120000 index 85510a12..00000000 --- a/muttator/locale/en-US/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../../common/Makefile.doc \ No newline at end of file diff --git a/muttator/locale/en-US/Makefile b/muttator/locale/en-US/Makefile new file mode 100644 index 00000000..627ca99b --- /dev/null +++ b/muttator/locale/en-US/Makefile @@ -0,0 +1,2 @@ +BASE = ../../../common +include $(BASE)/Makefile.doc