aboutsummaryrefslogtreecommitdiffstats
path: root/english/events/2005/Makefile
blob: 109e18a97191f46c6895467489c2bdbfb6b9c145 (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
# If this makefile is not generic enough to support a translation,
# please contact debian-www.

WMLBASE=../..
CUR_DIR=events/2005
SUBS=

GETTEXTFILES += newsevents.mo

NOGENERICDEP := true

include $(WMLBASE)/Make.lang


EVENTFILES := $(wildcard [0-9]*\-*.wml)
ICSFILES := $(filter-out %-report.wml,$(EVENTFILES))
ICSFILES := $(ICSFILES:.wml=.$(LANGUAGE).ics)
DESTICSFILES := $(patsubst %.ics,$(HTMLDIR)/%.ics,$(ICSFILES))

all:: $(ICSFILES)

install:: $(DESTICSFILES)

clean::
	rm -f *.$(LANGUAGE).ics

index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml

%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
	$(WML) $(<F)

%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
	$(ENGLISHSRCDIR)/events/make_ics.pl $< $@

$(HTMLDIR)/%.ics: %.ics
	@echo copying $< to $(HTMLDIR)
	-@install -m 644 -p $< $(HTMLDIR)

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