Commit cf380852 authored by Laura Arjona Reina's avatar Laura Arjona Reina

Use $(ENGLISHSRCDIR)/$(CUR_DIR)/index.wml instead of english/security/2017,...

Use  $(ENGLISHSRCDIR)/$(CUR_DIR)/index.wml instead of english/security/2017, so the Makefile can be used for any year

CVS version numbers

english/security/2017/Makefile: 1.6 -> 1.7
parent e0497491
......@@ -25,14 +25,12 @@ 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) \
$(ENGLISHDIR)/security/2017/index.wml
@$(GENERATE_ZH_VARIANTS) index html
$(ENGLISHSRCDIR)/$(CUR_DIR)/index.wml
@$(GENERATE_ZH_VARIANTS) index html
else
$(WML) $(shell egrep '^-D (CUR_|CHAR)' ../../.wmlrc) \
$(ENGLISHDIR)/security/2017/index.wml
$(ENGLISHSRCDIR)/$(CUR_DIR)/index.wml
endif
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
$(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
......
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