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

WMLBASE=..
CUR_DIR=Bugs
SUBS=

GETTEXTFILES += bugs.mo

include $(WMLBASE)/Make.lang

ifeq "$(LANGUAGE)" "en"
clean::
	rm -f pseudo-packages.description 
endif

$(ENGLISHDIR)/Bugs/pkgreport-opts.inc: \
  $(TEMPLDIR)/common_tags.wml $(GETTEXTDEP) $(call locale,bugs)
	touch $@ # because of $(?F)
index.$(LANGUAGE).html: $(TEMPLDIR)/template.wml $(ENGLISHDIR)/Bugs/footer.inc \
  $(ENGLISHDIR)/Bugs/pkgreport-opts.inc
Access.$(LANGUAGE).html: $(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc
Developer.$(LANGUAGE).html: $(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc
Reporting.$(LANGUAGE).html: $(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc
server-control.$(LANGUAGE).html: $(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc
server-refcard.$(LANGUAGE).html: $(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc
server-request.$(LANGUAGE).html: $(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc
pseudo-packages.$(LANGUAGE).html: $(ENGLISHDIR)/Bugs/pseudo-packages.description \
  $(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc \
  $(ENGLISHDIR)/Bugs/pseudo-packages.inc $(GETTEXTDEP)

.PHONY: $(ENGLISHDIR)/Bugs/pseudo-packages.description

$(ENGLISHDIR)/Bugs/pseudo-packages.description:
	wget -O $(ENGLISHDIR)/Bugs/pseudo-packages.description https://bugs.debian.org/pseudopackages/pseudo-packages.description

ifeq "$(LANGUAGE)" "en"
$(HTMLDIR)/hashbug_redirect.js: hashbug_redirect.js
	install -m 664 -p $< $(HTMLDIR)

install:: $(HTMLDIR)/hashbug_redirect.js
endif

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