aboutsummaryrefslogtreecommitdiffstats
path: root/english/intro/Makefile
blob: 4eb9d1e01da0eb6a0cd1f063cbc28f41f15fcc45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# If this makefile is not generic enough to support a translation,
# please contact debian-www.

WMLBASE=..
CUR_DIR=intro
SUBS=

include $(WMLBASE)/Make.lang

about.$(LANGUAGE).html: $(TEMPLDIR)/release_info.wml

ifndef SUBLANG
INDEXPAGE  := index.$(LANGUAGE).html
else
INDEXPAGE  := $(sort $(foreach i,$(SUBLANG),$(subst index,index.$(LANGUAGE)-$(i),index.html)))
endif

$(INDEXPAGE): index.wml $(wildcard $(ENGLISHDIR)/security/$(CUR_YEAR)/dsa-[0-9]*.wml) \
		$(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-[0-9]*.wml) \
		$(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)

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) \
          $(<F)
	@$(GENERATE_ZH_VARIANTS) index html
else
	$(WML) $(<F)
endif

organization.$(LANGUAGE).html: organization.wml \
  $(ENGLISHSRCDIR)/intro/organization.data \
  $(ENGLISHDIR)/MailingLists/lists.cfg \
  $(ENGLISHDIR)/devel/leader.data \
  $(TEMPLDIR)/language_names.wml \
  $(TEMPLDIR)/common_tags.wml 

ifeq "$(LANGUAGE)" "en"

textfiles := community-team-pubkey.txt
desttextfiles := $(patsubst %,$(HTMLDIR)/%,$(textfiles))

install:: $(desttextfiles)

$(desttextfiles): $(HTMLDIR)/%: %
	@test -d $(HTMLDIR) || mkdir -m g+w -p $(HTMLDIR)
	install -m 664 -p $< $(HTMLDIR)

cleandest::
	rm -f $(desttextfiles)
endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy