1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 13:02:26 +01:00

Add THIS_LANG sanity check to Makefile.doc.

This commit is contained in:
Ted Pavlic
2009-01-15 22:49:43 -05:00
parent bd881e062b
commit a0fcde5b4a

View File

@@ -6,6 +6,9 @@ BASE = ../../../common
THIS_LOCALE = $(notdir $(shell pwd))
THIS_LANG = $(firstword $(subst -, ,$(THIS_LOCALE)))
ifneq ($(strip $(shell echo -n $(THIS_LANG) | wc -c)),2)
THIS_LANG = en
endif
ADC_SRC_FILES = $(wildcard *.txt)
ADC_FILES = $(ADC_SRC_FILES:%.txt=%.html)