aboutsummaryrefslogtreecommitdiffstats
path: root/english/women/profiles/Makefile
blob: 908dd5bcb91b05a02bfbd62f613d827dc7c6e97a (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=women/profiles
SUBS=pictures
PROFILES := $(filter-out index.wml, $(sort $(wildcard *.wml)))
## GETTEXTFILES += others.mo

NOGENERICDEP := true
include $(WMLBASE)/Make.lang

# The "| $(VCSREVCACHE)" here is an order-only prerequisite - always
# check that the prerequisite exists and is up to date, but don't
# rebuild everything whenever it's updated - see
# https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
index.$(LANGUAGE).html : index.wml $(WMLRCDEP) $(GETTEXTDEP) \
  $(PROFILES) \
  $(TEMPLDIR)/users_list.wml \
  $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml | $(VCSREVCACHE)
	$(WML) $(<F)
ifeq "$(LANGUAGE)" "en"
	$(IGNORE)$(WMLBASE)/../touch_translations.pl $(CURDIR)/$(<F) $(LANGUAGE)
else
ifneq "$(findstring international,$(CUR_DIR))" ""
	$(IGNORE)$(WMLBASE)/../touch_translations.pl $(CURDIR)/$(<F) $(LANGUAGE)
endif
endif

%.$(LANGUAGE).html : %.wml $(WMLRCDEP) $(GETTEXTDEP) \
  $(ENGLISHSRCDIR)/women/profiles/profiles.def \
  $(TEMPLDIR)/faqs.wml \
  $(TEMPLDIR)/profiles.wml \
  $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml | $(VCSREVCACHE)
	$(WML) $(<F)
ifeq "$(LANGUAGE)" "en"
	$(IGNORE)$(WMLBASE)/../touch_translations.pl $(CURDIR)/$(<F) $(LANGUAGE)
else
ifneq "$(findstring international,$(CUR_DIR))" ""
	$(IGNORE)$(WMLBASE)/../touch_translations.pl $(CURDIR)/$(<F) $(LANGUAGE)
endif
endif

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