Commit 75debfaf authored by Laura Arjona Reina's avatar Laura Arjona Reina

fix the generation of the index page to generate each language page instead of...

fix the generation of the index page to generate each language page instead of the English one all the time

CVS version numbers

english/security/Makefile: 1.73 -> 1.74 
english/security/2017/Makefile: 1.7 -> 1.8
parent 235b84fd
......@@ -25,11 +25,10 @@ ifeq "$(LANGUAGE)" "zh"
@echo -n "Processing $(<F): "
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:index.zh-$$1.html,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../../.wmlrc) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/index.wml
$(<F)
@$(GENERATE_ZH_VARIANTS) index html
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../../.wmlrc) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/index.wml
$(WML) $(<F)
endif
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
......
......@@ -40,11 +40,10 @@ ifeq "$(LANGUAGE)" "zh"
@echo -n "Processing $(<F): "
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:index.zh-$$1.html,g') \
$(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/index.wml
@$(GENERATE_ZH_VARIANTS) index html
$(<F)
@$(GENERATE_ZH_VARIANTS) index html
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../.wmlrc) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/index.wml
$(WML) $(<F)
endif
pam-auth.$(LANGUAGE).html: pam-auth.wml \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment