1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-13 23:15:45 +01:00

Fix LANG setting in Makefile.doc. Remove extra indentation in messages.

This commit is contained in:
Kris Maglione
2009-01-21 14:53:12 -05:00
parent f36748338b
commit 91c5485c42
2 changed files with 9 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ AWK = awk
TARGETS = all help info doc jar xpi install clean distclean $(JAR) TARGETS = all help info doc jar xpi install clean distclean $(JAR)
$(TARGETS:%=\%.%): $(TARGETS:%=\%.%):
echo " MAKE" $* $(@:$*.%=%) echo MAKE $* $(@:$*.%=%)
$(MAKE) -C $* $(@:$*.%=%) $(MAKE) -C $* $(@:$*.%=%)
.PHONY: $(TARGETS) .PHONY: $(TARGETS)

View File

@@ -6,7 +6,7 @@ ASCIIDOC = asciidoc
AWK = awk AWK = awk
LOCALE = $(shell basename `pwd`) LOCALE = $(shell basename `pwd`)
LANG = $(shell basename `pwd` | $(AWK) -F- '{ print ($$1 ~ /^[a-z]\{2\}$$/) ? $$1 : "en" }') LANG = $(shell basename `pwd` | $(AWK) -F- '{ print ($$1 ~ /^[a-z][a-z]$$/) ? $$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)