# If this makefile is not generic enough to support a translation, # please contact debian-www. WMLBASE=. CUR_DIR= SUBS=Bugs CD MailingLists News Pics blends community consultants devel \ distrib doc events intro international legal logos lts mirror partners \ ports releases reports security software users vote women derivatives webfonts all install:: install-locale clean:: clean-locale include $(WMLBASE)/Make.lang ifndef SUBLANG INDEXPAGE = index.$(LANGUAGE).html SITEMAP = sitemap.$(LANGUAGE).html DESTSITEMAP = $(HTMLDIR)/$(SITEMAP) SEARCHXML = search.$(LANGUAGE).xml DESTSEARCHXML = $(HTMLDIR)/$(SEARCHXML) else INDEXPAGE = $(sort $(foreach i,$(SUBLANG),$(subst index,index.$(LANGUAGE)-$(i),index.html))) SITEMAP = $(sort $(foreach i,$(SUBLANG),\ $(patsubst %.wml,%.$(LANGUAGE)-$(i).html,sitemap.wml))) DESTSITEMAP = $(patsubst %.html,$(HTMLDIR)/%.html,$(SITEMAP)) SEARCHXML = $(sort $(foreach i,$(SUBLANG),$(subst search,search.$(LANGUAGE)-$(i),search.xml))) DESTSEARCHXML = $(patsubst %.xml,$(HTMLDIR)/%.xml,$(SEARCHXML)) endif $(INDEXPAGE): index.wml $(ENGLISHSRCDIR)/index.def $(ENGLISHSRCDIR)/index.inc $(TEMPLDIR)/mainpage.wml $(GETTEXTDEP) \ $(ENGLISHSRCDIR)/homepagenews.data \ $(wildcard News/$(CUR_YEAR)/[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/News/$(CUR_YEAR)/[0-9]*.wml) \ $(wildcard News/$(CUR_YEAR)/[0-9]*.title) \ $(TEMPLDIR)/ctime.wml $(TEMPLDIR)/recent_list.wml $(TEMPLDIR)/languages.wml \ $(TEMPLDIR)/release_info.wml $(TEMPLDIR)/release_images.wml $(TEMPLDIR)/links.tags.wml ifeq "$(LANGUAGE)" "zh" @echo -n "Processing $(