aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2018-06-06 02:14:55 +0100
committerSteve McIntyre <steve@einval.com>2018-06-06 02:20:41 +0100
commit533db96be6c6b97b4bf26203b429f24b2ad56cb4 (patch)
treeb826f626f219ceeedbfadf2c8f14f6811aa89448
parentf035d5bf50874ad2e3c2b25aefcac111b4c5cbb0 (diff)
Major Makefile overhauls
Add rules to generate the git revs cache in Makefile.common, referenced as $(VCSREVCACHE) Add an extra order-only prerequisite on $(VCSREVCACHE) for ~all rules converting .wml to .html, so that we'll make sure we have a cache built up-front before we start building anything. More factorisation of various year-based Makefiles to use a common Make.year set of rules.
-rw-r--r--Makefile.common10
-rw-r--r--chinese/Make.lang9
-rw-r--r--danish/devel/debian-jr/News/Make.year1
-rw-r--r--danish/devel/debian-med/News/Make.year1
-rw-r--r--english/CD/Makefile12
-rw-r--r--english/CD/artwork/Makefile6
-rw-r--r--english/CD/faq/Makefile8
-rw-r--r--english/CD/http-ftp/Makefile8
-rw-r--r--english/CD/jigdo-cd/Makefile8
-rw-r--r--english/CD/live/Makefile8
-rw-r--r--english/CD/mirroring/Makefile8
-rw-r--r--english/CD/netinst/Makefile8
-rw-r--r--english/CD/releases/Makefile6
-rw-r--r--english/CD/torrent-cd/Makefile8
-rw-r--r--english/News/Make.year24
-rw-r--r--english/News/press/Makefile8
-rw-r--r--english/News/weekly/Makefile10
-rw-r--r--english/blends/hamradio/News/2014/Makefile8
-rw-r--r--english/blends/hamradio/News/2015/Makefile8
-rw-r--r--english/devel/debian-installer/News/Make.year8
-rw-r--r--english/devel/debian-jr/News/2000/Makefile15
-rw-r--r--english/devel/debian-jr/News/2001/Makefile15
-rw-r--r--english/devel/debian-jr/News/2002/Makefile15
-rw-r--r--english/devel/debian-jr/News/2003/Makefile15
-rw-r--r--english/devel/debian-jr/News/Make.year20
-rw-r--r--english/devel/debian-med/News/2002/Makefile15
-rw-r--r--english/devel/debian-med/News/2003/Makefile15
-rw-r--r--english/devel/debian-med/News/2004/Makefile15
-rw-r--r--english/devel/debian-med/News/2005/Makefile15
-rw-r--r--english/devel/debian-med/News/2007/Makefile15
-rw-r--r--english/devel/debian-med/News/2008/Makefile15
-rw-r--r--english/devel/debian-med/News/2009/Makefile15
-rw-r--r--english/devel/debian-med/News/2010/Makefile15
-rw-r--r--english/devel/debian-med/News/2011/Makefile15
-rw-r--r--english/devel/debian-med/News/Make.year21
-rw-r--r--english/devel/debian-nonprofit/News/2003/Makefile8
-rw-r--r--english/devel/debian-nonprofit/News/2004/Makefile8
-rw-r--r--english/devel/website/stats/Makefile6
-rw-r--r--english/devel/wnpp/Makefile6
-rw-r--r--english/events/1998/Makefile8
-rw-r--r--english/events/1999/Makefile8
-rw-r--r--english/events/2000/Makefile8
-rw-r--r--english/events/2001/Makefile8
-rw-r--r--english/events/2002/Makefile8
-rw-r--r--english/events/2003/Makefile8
-rw-r--r--english/events/2004/Makefile8
-rw-r--r--english/events/2005/Makefile8
-rw-r--r--english/events/2006/Makefile8
-rw-r--r--english/events/2007/Makefile8
-rw-r--r--english/events/2008/Makefile8
-rw-r--r--english/events/2009/Makefile8
-rw-r--r--english/events/2010/Makefile8
-rw-r--r--english/events/2011/Makefile8
-rw-r--r--english/events/2012/Makefile8
-rw-r--r--english/events/2013/Makefile8
-rw-r--r--english/events/speakers/Makefile8
-rw-r--r--english/security/1997/Makefile8
-rw-r--r--english/security/1998/Makefile8
-rw-r--r--english/security/1999/Makefile8
-rw-r--r--english/security/2000/Makefile8
-rw-r--r--english/security/2001/Makefile8
-rw-r--r--english/security/2002/Makefile8
-rw-r--r--english/security/2003/Makefile8
-rw-r--r--english/security/2004/Makefile12
-rw-r--r--english/security/2005/Makefile8
-rw-r--r--english/security/2006/Makefile8
-rw-r--r--english/security/2007/Makefile8
-rw-r--r--english/security/2008/Makefile8
-rw-r--r--english/security/2009/Makefile8
-rw-r--r--english/security/2010/Makefile8
-rw-r--r--english/security/2011/Makefile8
-rw-r--r--english/security/2012/Makefile8
-rw-r--r--english/security/2013/Makefile8
-rw-r--r--english/security/2014/Makefile8
-rw-r--r--english/security/2015/Makefile8
-rw-r--r--english/security/2016/Makefile8
-rw-r--r--english/security/2017/Makefile8
-rw-r--r--english/security/2018/Makefile8
-rwxr-xr-xenglish/security/parse-advisory.pl9
-rw-r--r--english/security/undated/Makefile9
-rw-r--r--english/women/profiles/Makefile8
-rw-r--r--french/devel/debian-jr/News/Make.year1
-rw-r--r--french/devel/debian-med/News/Make.year1
-rw-r--r--german/devel/debian-jr/News/Make.year1
-rw-r--r--german/devel/debian-med/News/Make.year1
-rw-r--r--italian/devel/debian-jr/News/Make.year1
-rw-r--r--italian/devel/debian-med/News/Make.year1
-rw-r--r--japanese/devel/debian-jr/News/Make.year1
-rw-r--r--japanese/devel/debian-med/News/Make.year1
-rw-r--r--polish/devel/debian-jr/News/Make.year1
-rw-r--r--polish/devel/debian-med/News/Make.year1
-rw-r--r--portuguese/devel/debian-jr/News/Make.year1
-rw-r--r--portuguese/devel/debian-med/News/Make.year1
-rw-r--r--russian/devel/debian-jr/News/Make.year1
-rw-r--r--russian/devel/debian-med/News/Make.year1
-rw-r--r--spanish/devel/debian-jr/News/Make.year1
-rw-r--r--spanish/devel/debian-med/News/Make.year1
-rw-r--r--swedish/devel/debian-jr/News/Make.year1
-rw-r--r--swedish/devel/debian-med/News/Make.year1
99 files changed, 488 insertions, 303 deletions
diff --git a/Makefile.common b/Makefile.common
index 9465f000bb4..9f9dfb7b398 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -10,6 +10,7 @@ ENGLISHDIR := $(ENGLISHSRCDIR)
TEMPLDIR := $(ENGLISHDIR)/template/debian
RELHTMLBASE := ../../www
HTMLDIR = $(WMLBASE)/$(RELHTMLBASE)/$(CUR_DIR)
+VCSREVCACHE = $(WMLBASE)/../.git-revs-cache.db
LOCALEDIR := $(WMLBASE)/../locale/$(LANGUAGE)/LC_MESSAGES
essential-locale-files := templates countries langs date
@@ -90,6 +91,9 @@ cleandest:: $(existing-SUBS-cleandest)
$(existing-SUBS-cleandest):
-$(MAKE) -C $(patsubst %-cleandest,%,$@) cleandest
+$(VCSREVCACHE): $(WMLBASE)/../.git/index
+ (cd $(WMLBASE)/.. && ./build_vcs_cache.pl)
+
# the rule for every wml file
ifndef NOGENERICDEP
@@ -99,7 +103,11 @@ else
EXTRAWMLDEP := $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml $(TEMPLDIR)/translation-check.wml
endif
-%.$(LANGUAGE).html : %.wml $(EXTRAWMLDEP)
+# 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
+%.$(LANGUAGE).html : %.wml $(EXTRAWMLDEP) | $(VCSREVCACHE)
$(WML) $(<F)
ifeq "$(LANGUAGE)" "en"
-$(WMLBASE)/../touch_translations.pl $(CURDIR)/$(<F) $(LANGUAGE)
diff --git a/chinese/Make.lang b/chinese/Make.lang
index 9d7984ecadf..c68f2b451a7 100644
--- a/chinese/Make.lang
+++ b/chinese/Make.lang
@@ -91,15 +91,20 @@ $(HTMLDIR)/%.zh-tw.html: %.zh-tw.html
fi
ifndef NOGENERICDEP
+
+# 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
%.zh-cn.html %.zh-hk.html %.zh-tw.html: %.wml \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml \
- $(COMMON_SCRIPTS) $(ZHTEMPLATE) $(GETTEXTDEP)
+ $(COMMON_SCRIPTS) $(ZHTEMPLATE) $(GETTEXTDEP) $(TEMPLDIR)/translation-check.wml | $(VCSREVCACHE)
@echo -n "Processing $(<F): "
@$(WML) $(<F)
@$(GENERATE_ZH_VARIANTS) $* html
else
%.zh-cn.html %.zh-hk.html %.zh-tw.html: %.wml \
- $(COMMON_SCRIPTS) $(ZHTEMPLATE) $(GETTEXTDEP)
+ $(COMMON_SCRIPTS) $(ZHTEMPLATE) $(GETTEXTDEP) | $(VCSREVCACHE)
@echo -n "Processing $(<F): "
@cd $(@D) && $(WML) $(notdir $(<))
@$(GENERATE_ZH_VARIANTS) $* html
diff --git a/danish/devel/debian-jr/News/Make.year b/danish/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..77b7a4e01e6
--- /dev/null
+++ b/danish/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/danish,webwml/english,$(CURDIR))/../Make.year
diff --git a/danish/devel/debian-med/News/Make.year b/danish/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..77b7a4e01e6
--- /dev/null
+++ b/danish/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/danish,webwml/english,$(CURDIR))/../Make.year
diff --git a/english/CD/Makefile b/english/CD/Makefile
index 3a9646fc114..125a811ee64 100644
--- a/english/CD/Makefile
+++ b/english/CD/Makefile
@@ -10,7 +10,17 @@ GETTEXTFILES += cdimage.mo
NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+ifeq "$(LANGUAGE)" "en"
+ EXTRAWMLDEP := $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+else
+ EXTRAWMLDEP := $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml $(TEMPLDIR)/translation-check.wml
+endif
+
+# 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
+%.$(LANGUAGE).html: %.wml $(EXTRAWMLDEP) | $(VCSREVCACHE)
$(WML) $(<F)
ifneq "$(wildcard releases/index.wml)" ""
diff --git a/english/CD/artwork/Makefile b/english/CD/artwork/Makefile
index 4ba275b9481..18230e26404 100644
--- a/english/CD/artwork/Makefile
+++ b/english/CD/artwork/Makefile
@@ -9,5 +9,9 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/CD/faq/Makefile b/english/CD/faq/Makefile
index 4ed244b0a72..dadc5f20cd2 100644
--- a/english/CD/faq/Makefile
+++ b/english/CD/faq/Makefile
@@ -9,10 +9,14 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml \
$(TEMPLDIR)/cdimage.wml \
$(TEMPLDIR)/toc.wml \
- $(TEMPLDIR)/release_info.wml
+ $(TEMPLDIR)/release_info.wml | $(VCSREVCACHE)
diff --git a/english/CD/http-ftp/Makefile b/english/CD/http-ftp/Makefile
index 4b698ae2258..3df1b352e91 100644
--- a/english/CD/http-ftp/Makefile
+++ b/english/CD/http-ftp/Makefile
@@ -9,12 +9,16 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/cdimage.wml \
$(ENGLISHDIR)/CD/http-ftp/cdimage_mirrors.list \
- $(TEMPLDIR)/release_info.wml $(TEMPLDIR)/release_images.wml
+ $(TEMPLDIR)/release_info.wml $(TEMPLDIR)/release_images.wml | $(VCSREVCACHE)
ifeq "$(LANGUAGE)" "en"
$(ENGLISHDIR)/CD/http-ftp/cdimage_mirrors.list: \
diff --git a/english/CD/jigdo-cd/Makefile b/english/CD/jigdo-cd/Makefile
index 90b97b29ee0..152abdf8a64 100644
--- a/english/CD/jigdo-cd/Makefile
+++ b/english/CD/jigdo-cd/Makefile
@@ -9,11 +9,15 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/cdimage.wml \
$(TEMPLDIR)/installer.wml $(TEMPLDIR)/toc.wml \
$(TEMPLDIR)/release_info.wml \
$(ENGLISHSRCDIR)/devel/debian-installer/images.data \
- $(TEMPLDIR)/release_images.wml
+ $(TEMPLDIR)/release_images.wml | $(VCSREVCACHE)
diff --git a/english/CD/live/Makefile b/english/CD/live/Makefile
index 558267d42ee..773317a7820 100644
--- a/english/CD/live/Makefile
+++ b/english/CD/live/Makefile
@@ -9,9 +9,13 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/template.wml \
$(TEMPLDIR)/release_info.wml $(TEMPLDIR)/installer.wml \
- $(TEMPLDIR)/release_images.wml
+ $(TEMPLDIR)/release_images.wml | $(VCSREVCACHE)
diff --git a/english/CD/mirroring/Makefile b/english/CD/mirroring/Makefile
index b516266f08d..75ad15a00aa 100644
--- a/english/CD/mirroring/Makefile
+++ b/english/CD/mirroring/Makefile
@@ -9,11 +9,15 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
rsync-mirrors.$(LANGUAGE).html: rsync-mirrors.wml $(TEMPLDIR)/cdimage.wml \
- $(ENGLISHDIR)/CD/mirroring/cdimage_mirrors.list
+ $(ENGLISHDIR)/CD/mirroring/cdimage_mirrors.list | $(VCSREVCACHE)
ifeq "$(LANGUAGE)" "en"
$(ENGLISHDIR)/CD/mirroring/cdimage_mirrors.list: \
diff --git a/english/CD/netinst/Makefile b/english/CD/netinst/Makefile
index 7926fd4fa8a..32d8250ce51 100644
--- a/english/CD/netinst/Makefile
+++ b/english/CD/netinst/Makefile
@@ -9,9 +9,13 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/template.wml \
$(TEMPLDIR)/release_info.wml $(TEMPLDIR)/installer.wml \
- $(TEMPLDIR)/release_images.wml
+ $(TEMPLDIR)/release_images.wml | $(VCSREVCACHE)
diff --git a/english/CD/releases/Makefile b/english/CD/releases/Makefile
index 4126cac2137..7035a0a2ce8 100644
--- a/english/CD/releases/Makefile
+++ b/english/CD/releases/Makefile
@@ -9,5 +9,9 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/CD/torrent-cd/Makefile b/english/CD/torrent-cd/Makefile
index d20fb78b53b..d59da94795b 100644
--- a/english/CD/torrent-cd/Makefile
+++ b/english/CD/torrent-cd/Makefile
@@ -9,11 +9,15 @@ NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml
+# 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
+%.$(LANGUAGE).html: %.wml $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/cdimage.wml | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/cdimage.wml \
$(TEMPLDIR)/installer.wml $(TEMPLDIR)/toc.wml \
$(TEMPLDIR)/release_info.wml \
$(ENGLISHSRCDIR)/devel/debian-installer/images.data \
- $(TEMPLDIR)/release_images.wml
+ $(TEMPLDIR)/release_images.wml | $(VCSREVCACHE)
diff --git a/english/News/Make.year b/english/News/Make.year
index 2ff4d8b2d08..43785f24816 100644
--- a/english/News/Make.year
+++ b/english/News/Make.year
@@ -9,26 +9,30 @@ GETTEXTFILES += newsevents.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 $(TEMPLDIR)/template.wml \
$(TEMPLDIR)/recent_list.wml $(wildcard $(THIS_YEAR)*.wml) \
- $(wildcard $(ENGLISHDIR)/News/$(THIS_YEAR)/$(THIS_YEAR)*.wml) $(GETTEXTDEP)
+ $(wildcard $(ENGLISHDIR)/News/$(THIS_YEAR)/$(THIS_YEAR)*.wml) $(GETTEXTDEP) | $(VCSREVCACHE)
-# Don't know why onlt these specific news articles are include
+# Don't know why only these specific news articles are include
# news_events.wml and not all of them... :-/
-20040524.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP)
+20040524.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
-20040619.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP)
+20040619.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
-20041015.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP)
+20041015.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
-20050218.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP)
+20050218.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
-20050617.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP)
+20050617.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
-20050705.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP)
+20050705.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
-20120120.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP)
+20120120.%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(TEMPLDIR)/news_events.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(GETTEXTDEP)
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/News/press/Makefile b/english/News/press/Makefile
index 3dcacaeaa6b..e4a31d37204 100644
--- a/english/News/press/Makefile
+++ b/english/News/press/Makefile
@@ -13,15 +13,19 @@ LAST_YEAR = 2007
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 $(TEMPLDIR)/template.wml \
$(TEMPLDIR)/countries.wml \
$(GETTEXTDEP) \
$(ENGLISHDIR)/News/press/press.tags \
- $(ENGLISHDIR)/News/press/$(LAST_YEAR).data
+ $(ENGLISHDIR)/News/press/$(LAST_YEAR).data | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/template.wml $(TEMPLDIR)/countries.wml \
$(GETTEXTDEP) \
$(ENGLISHDIR)/News/press/press.tags \
- $(ENGLISHDIR)/News/press/%.data
+ $(ENGLISHDIR)/News/press/%.data | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/News/weekly/Makefile b/english/News/weekly/Makefile
index 8314a653802..4fa36442086 100644
--- a/english/News/weekly/Makefile
+++ b/english/News/weekly/Makefile
@@ -31,11 +31,15 @@ else
all:: index.zh-cn.html index.zh-hk.html index.zh-tw.html $(HTMLFILES)
endif
+# 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
# When building the html files we have to change into the right directory
# so wml gets all the relative links right.
%.$(LANGUAGE).html : %.wml $(TEMPLDIR)/projectnews/footer.wml \
$(TEMPLDIR)/projectnews/header.wml $(GETTEXTDEP) \
- $(TEMPLDIR)/projectnews/boilerplates.wml
+ $(TEMPLDIR)/projectnews/boilerplates.wml | $(VCSREVCACHE)
ifeq "$(LANGUAGE)" "pl"
cd $(@D) && $(subst ../../znaczki.sh,$(CURDIR)/../../znaczki.sh,$(WML)) $(notdir $(<))
@@ -85,7 +89,7 @@ index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/*/index.wml) \
$(TEMPLDIR)/projectnews/footer.wml \
$(TEMPLDIR)/weeklynews/header.wml \
$(TEMPLDIR)/weeklynews/index.wml \
- $(TEMPLDIR)/weeklynews/footer.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/weeklynews/footer.wml $(GETTEXTDEP) | $(VCSREVCACHE)
# per-year indices need to be rebuilt, too.
# this code works around a small bug in make's $(wildcard) function, too
@@ -97,7 +101,7 @@ index.$(LANGUAGE).html: index.wml $(wildcard $(CUR_YEAR)/*/index.wml) \
$(TEMPLDIR)/projectnews/footer.wml \
$(TEMPLDIR)/weeklynews/header.wml \
$(TEMPLDIR)/weeklynews/index.wml \
- $(TEMPLDIR)/weeklynews/footer.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/weeklynews/footer.wml $(GETTEXTDEP) | $(VCSREVCACHE)
CURRENT_ISSUE=$(shell cat $(ENGLISHSRCDIR)/$(CUR_DIR)/CURRENT-ISSUE-IS)/index.wml
DWN_CURRENT=$(shell test -f $(CURRENT_ISSUE) && echo "yes" || echo)
diff --git a/english/blends/hamradio/News/2014/Makefile b/english/blends/hamradio/News/2014/Makefile
index b6d25542f21..8085084817f 100644
--- a/english/blends/hamradio/News/2014/Makefile
+++ b/english/blends/hamradio/News/2014/Makefile
@@ -9,9 +9,13 @@ 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 $(wildcard 2014*.wml) \
$(wildcard 2014*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/blends/hamradio/News/2015/Makefile b/english/blends/hamradio/News/2015/Makefile
index e8708e846e1..f9cd9fa7e28 100644
--- a/english/blends/hamradio/News/2015/Makefile
+++ b/english/blends/hamradio/News/2015/Makefile
@@ -9,9 +9,13 @@ 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 $(wildcard 2014*.wml) \
$(wildcard 2014*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/devel/debian-installer/News/Make.year b/english/devel/debian-installer/News/Make.year
index 1eb0ffb69e6..4add7bcef3e 100644
--- a/english/devel/debian-installer/News/Make.year
+++ b/english/devel/debian-installer/News/Make.year
@@ -5,10 +5,14 @@ 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 $(wildcard $(THIS_YEAR)*.wml) \
$(wildcard $(THIS_YEAR)*.title) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml \
- $(GETTEXTDEP)
+ $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(GETTEXTDEP)
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/devel/debian-jr/News/2000/Makefile b/english/devel/debian-jr/News/2000/Makefile
index 853105fe294..ae7af018694 100644
--- a/english/devel/debian-jr/News/2000/Makefile
+++ b/english/devel/debian-jr/News/2000/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-jr/News/2000
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2000*.wml) \
- $(wildcard 2000*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2000
+include ../Make.year
diff --git a/english/devel/debian-jr/News/2001/Makefile b/english/devel/debian-jr/News/2001/Makefile
index ec35940eb3d..bb26d91e616 100644
--- a/english/devel/debian-jr/News/2001/Makefile
+++ b/english/devel/debian-jr/News/2001/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-jr/News/2001
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2001*.wml) \
- $(wildcard 2001*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2001
+include ../Make.year
diff --git a/english/devel/debian-jr/News/2002/Makefile b/english/devel/debian-jr/News/2002/Makefile
index a17cf890258..1fa3d77e1ee 100644
--- a/english/devel/debian-jr/News/2002/Makefile
+++ b/english/devel/debian-jr/News/2002/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-jr/News/2002
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2002*.wml) \
- $(wildcard 2002*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2002
+include ../Make.year
diff --git a/english/devel/debian-jr/News/2003/Makefile b/english/devel/debian-jr/News/2003/Makefile
index b6ad9864fb0..67de01badee 100644
--- a/english/devel/debian-jr/News/2003/Makefile
+++ b/english/devel/debian-jr/News/2003/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-jr/News/2003
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2003*.wml) \
- $(wildcard 2003*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2003
+include ../Make.year
diff --git a/english/devel/debian-jr/News/Make.year b/english/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..9103debb3dd
--- /dev/null
+++ b/english/devel/debian-jr/News/Make.year
@@ -0,0 +1,20 @@
+# If this makefile is not generic enough to support a translation,
+# please contact debian-www.
+
+CUR_DIR=devel/debian-jr/News/$(THIS_YEAR)
+SUBS=
+
+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 $(wildcard $(THIS_YEAR)*.wml) \
+ $(wildcard $(THIS_YEAR)*.title)\
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
+ $(WML) index.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml | $(VCSREVCACHE)
+ $(WML) $(<F)
diff --git a/english/devel/debian-med/News/2002/Makefile b/english/devel/debian-med/News/2002/Makefile
index 9330c9b7f8a..1fa3d77e1ee 100644
--- a/english/devel/debian-med/News/2002/Makefile
+++ b/english/devel/debian-med/News/2002/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2002
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2002*.wml) \
- $(wildcard 2002*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2002
+include ../Make.year
diff --git a/english/devel/debian-med/News/2003/Makefile b/english/devel/debian-med/News/2003/Makefile
index 7e232e158df..67de01badee 100644
--- a/english/devel/debian-med/News/2003/Makefile
+++ b/english/devel/debian-med/News/2003/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2003
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2003*.wml) \
- $(wildcard 2003*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2003
+include ../Make.year
diff --git a/english/devel/debian-med/News/2004/Makefile b/english/devel/debian-med/News/2004/Makefile
index 4063be7c178..f8d8be31d30 100644
--- a/english/devel/debian-med/News/2004/Makefile
+++ b/english/devel/debian-med/News/2004/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2004
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2004*.wml) \
- $(wildcard 2004*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2004
+include ../Make.year
diff --git a/english/devel/debian-med/News/2005/Makefile b/english/devel/debian-med/News/2005/Makefile
index 991a6ad73e1..f7f1e3ce021 100644
--- a/english/devel/debian-med/News/2005/Makefile
+++ b/english/devel/debian-med/News/2005/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2005
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2005*.wml) \
- $(wildcard 2005*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2005
+include ../Make.year
diff --git a/english/devel/debian-med/News/2007/Makefile b/english/devel/debian-med/News/2007/Makefile
index b69ef60ee18..fc1f280cb46 100644
--- a/english/devel/debian-med/News/2007/Makefile
+++ b/english/devel/debian-med/News/2007/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2007
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2007*.wml) \
- $(wildcard 2007*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2007
+include ../Make.year
diff --git a/english/devel/debian-med/News/2008/Makefile b/english/devel/debian-med/News/2008/Makefile
index 2ba3ab42a20..06a1698313e 100644
--- a/english/devel/debian-med/News/2008/Makefile
+++ b/english/devel/debian-med/News/2008/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2008
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2008*.wml) \
- $(wildcard 2008*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2008
+include ../Make.year
diff --git a/english/devel/debian-med/News/2009/Makefile b/english/devel/debian-med/News/2009/Makefile
index f57233fab98..afcbd37fbdd 100644
--- a/english/devel/debian-med/News/2009/Makefile
+++ b/english/devel/debian-med/News/2009/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2009
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2009*.wml) \
- $(wildcard 2009*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2009
+include ../Make.year
diff --git a/english/devel/debian-med/News/2010/Makefile b/english/devel/debian-med/News/2010/Makefile
index e552ed74520..c5307598c74 100644
--- a/english/devel/debian-med/News/2010/Makefile
+++ b/english/devel/debian-med/News/2010/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2010
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2010*.wml) \
- $(wildcard 2010*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2010
+include ../Make.year
diff --git a/english/devel/debian-med/News/2011/Makefile b/english/devel/debian-med/News/2011/Makefile
index a3b74dcbe51..e215267a63f 100644
--- a/english/devel/debian-med/News/2011/Makefile
+++ b/english/devel/debian-med/News/2011/Makefile
@@ -2,16 +2,5 @@
# please contact debian-www.
WMLBASE=../../../..
-CUR_DIR=devel/debian-med/News/2011
-SUBS=
-
-NOGENERICDEP := true
-
-include $(WMLBASE)/Make.lang
-
-index.$(LANGUAGE).html: index.wml $(wildcard 2011*.wml) \
- $(wildcard 2011*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
- $(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
- $(WML) $(<F)
+THIS_YEAR=2011
+include ../Make.year
diff --git a/english/devel/debian-med/News/Make.year b/english/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..89e22f91fbd
--- /dev/null
+++ b/english/devel/debian-med/News/Make.year
@@ -0,0 +1,21 @@
+# If this makefile is not generic enough to support a translation,
+# please contact debian-www.
+
+WMLBASE=../../../..
+CUR_DIR=devel/debian-med/News/$(THIS_YEAR)
+SUBS=
+
+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 $(wildcard $(THIS_YEAR)*.wml) \
+ $(wildcard $(THIS_YEAR)*.title)\
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
+ $(WML) index.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml | $(VCSREVCACHE)
+ $(WML) $(<F)
diff --git a/english/devel/debian-nonprofit/News/2003/Makefile b/english/devel/debian-nonprofit/News/2003/Makefile
index 7587ac4e451..9bd34a398c1 100644
--- a/english/devel/debian-nonprofit/News/2003/Makefile
+++ b/english/devel/debian-nonprofit/News/2003/Makefile
@@ -9,9 +9,13 @@ 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 $(wildcard 2003*.wml) \
$(wildcard 2003*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/devel/debian-nonprofit/News/2004/Makefile b/english/devel/debian-nonprofit/News/2004/Makefile
index f1340ce21c4..e1e0e877e5b 100644
--- a/english/devel/debian-nonprofit/News/2004/Makefile
+++ b/english/devel/debian-nonprofit/News/2004/Makefile
@@ -9,9 +9,13 @@ 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 $(wildcard 2004*.wml) \
$(wildcard 2004*.title)\
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/news.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/devel/website/stats/Makefile b/english/devel/website/stats/Makefile
index 03c7ea06111..b2839d99c46 100644
--- a/english/devel/website/stats/Makefile
+++ b/english/devel/website/stats/Makefile
@@ -25,7 +25,11 @@ endif
DESTSTATS = $(patsubst %.html,$(HTMLDIR)/%.html,$(STATS))
-%.$(LANGUAGE).html: $(ENGLISHDIR)/$(CUR_DIR)/%.wml $(LOCALEDIR)/stats.mo
+# 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
+%.$(LANGUAGE).html: $(ENGLISHDIR)/$(CUR_DIR)/%.wml $(LOCALEDIR)/stats.mo | $(VCSREVCACHE)
$(WML) $(shell egrep '^-D (CUR_|CHAR)' $(WMLBASE)/.wmlrc) \
$(shell echo $<)
ifeq "$(LANGUAGE)" "zh"
diff --git a/english/devel/wnpp/Makefile b/english/devel/wnpp/Makefile
index a29976efeba..908c6c1f44f 100644
--- a/english/devel/wnpp/Makefile
+++ b/english/devel/wnpp/Makefile
@@ -15,9 +15,13 @@ clean::
DATADIR = $(ENGLISHSRCDIR)/$(CUR_DIR)
+# 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml \
$(WMLBASE)/../.wmlrc $(WMLBASE)/.wmlrc $(DATADIR)/wnpp.data \
- $(GETTEXTDEP)
+ $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
$(DATADIR)/wnpp.data: WMLOUTFILE=$(DATADIR)/wnpp.data
diff --git a/english/events/1998/Makefile b/english/events/1998/Makefile
index 8286a527390..710fd283543 100644
--- a/english/events/1998/Makefile
+++ b/english/events/1998/Makefile
@@ -10,8 +10,12 @@ GETTEXTFILES += newsevents.mo
NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/past_event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/past_event.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/events/1999/Makefile b/english/events/1999/Makefile
index f661185261d..c5d20a75ee9 100644
--- a/english/events/1999/Makefile
+++ b/english/events/1999/Makefile
@@ -10,8 +10,12 @@ GETTEXTFILES += newsevents.mo
NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) index.wml
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/past_event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/past_event.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/events/2000/Makefile b/english/events/2000/Makefile
index a5ed9a79ba5..3ac2e4c9676 100644
--- a/english/events/2000/Makefile
+++ b/english/events/2000/Makefile
@@ -10,7 +10,11 @@ GETTEXTFILES += newsevents.mo
NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/past_event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/past_event.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/events/2001/Makefile b/english/events/2001/Makefile
index 7de8493c038..b3a126d5231 100644
--- a/english/events/2001/Makefile
+++ b/english/events/2001/Makefile
@@ -10,7 +10,11 @@ GETTEXTFILES += newsevents.mo
NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/events/2002/Makefile b/english/events/2002/Makefile
index c1ff42b461e..827b28015a7 100644
--- a/english/events/2002/Makefile
+++ b/english/events/2002/Makefile
@@ -10,7 +10,11 @@ GETTEXTFILES += newsevents.mo
NOGENERICDEP := true
include $(WMLBASE)/Make.lang
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/events/2003/Makefile b/english/events/2003/Makefile
index a11e1762a4d..420c7b6f005 100644
--- a/english/events/2003/Makefile
+++ b/english/events/2003/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2004/Makefile b/english/events/2004/Makefile
index c693795d2af..e30395bc476 100644
--- a/english/events/2004/Makefile
+++ b/english/events/2004/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2005/Makefile b/english/events/2005/Makefile
index 109e18a9719..d9449dde82c 100644
--- a/english/events/2005/Makefile
+++ b/english/events/2005/Makefile
@@ -24,9 +24,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2006/Makefile b/english/events/2006/Makefile
index d077cca9244..e449c86da78 100644
--- a/english/events/2006/Makefile
+++ b/english/events/2006/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2007/Makefile b/english/events/2007/Makefile
index c81967192b0..edfecffaea3 100644
--- a/english/events/2007/Makefile
+++ b/english/events/2007/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2008/Makefile b/english/events/2008/Makefile
index f8a5fd05ed2..933219f5f7e 100644
--- a/english/events/2008/Makefile
+++ b/english/events/2008/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2009/Makefile b/english/events/2009/Makefile
index afc47e88478..7ec0ed95ec7 100644
--- a/english/events/2009/Makefile
+++ b/english/events/2009/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2010/Makefile b/english/events/2010/Makefile
index eee09d14566..7e7768fc1b8 100644
--- a/english/events/2010/Makefile
+++ b/english/events/2010/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2011/Makefile b/english/events/2011/Makefile
index 99042a29087..ac84de35ae7 100644
--- a/english/events/2011/Makefile
+++ b/english/events/2011/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2012/Makefile b/english/events/2012/Makefile
index bc05cf17988..965022ae3ed 100644
--- a/english/events/2012/Makefile
+++ b/english/events/2012/Makefile
@@ -22,9 +22,13 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
-index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+# 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 $(wildcard [0-9]*\-*.wml) $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/2013/Makefile b/english/events/2013/Makefile
index 83c6b41ffc3..69ed0a584af 100644
--- a/english/events/2013/Makefile
+++ b/english/events/2013/Makefile
@@ -22,11 +22,15 @@ install:: $(DESTICSFILES)
clean::
rm -f *.$(LANGUAGE).ics
+# 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 $(wildcard [0-9]*\-*.wml) \
$(wildcard $(ENGLISHDIR)/events/2013/[0-9]*\-*.wml) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/event.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).ics: %.wml $(ENGLISHSRCDIR)/events/make_ics.pl
diff --git a/english/events/speakers/Makefile b/english/events/speakers/Makefile
index 3d2eaeb8c9b..6621405b642 100644
--- a/english/events/speakers/Makefile
+++ b/english/events/speakers/Makefile
@@ -10,11 +10,15 @@ GETTEXTFILES += newsevents.mo
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 $(TEMPLDIR)/template.wml \
$(ENGLISHSRCDIR)/events/speakers/speakers.data \
$(ENGLISHSRCDIR)/events/speakers/speakers.defs \
- $(GETTEXTDEP)
+ $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
-%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/speakers.wml
+%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/speakers.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/1997/Makefile b/english/security/1997/Makefile
index 8bb0b4b3b4d..3c6fff655f2 100644
--- a/english/security/1997/Makefile
+++ b/english/security/1997/Makefile
@@ -9,11 +9,15 @@ 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 $(wildcard [0-9]*.wml) \
$(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).html: %.wml $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data \
- $(TEMPLDIR)/security.wml
+ $(TEMPLDIR)/security.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/1998/Makefile b/english/security/1998/Makefile
index f10588e2f40..d923bbffa49 100644
--- a/english/security/1998/Makefile
+++ b/english/security/1998/Makefile
@@ -9,11 +9,15 @@ 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 $(wildcard [0-9]*.wml) \
$(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).html: %.wml $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data \
- $(TEMPLDIR)/security.wml
+ $(TEMPLDIR)/security.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/1999/Makefile b/english/security/1999/Makefile
index 8bbd0246ebf..c1b5effa3b8 100644
--- a/english/security/1999/Makefile
+++ b/english/security/1999/Makefile
@@ -9,11 +9,15 @@ 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 $(wildcard [0-9]*.wml) \
$(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).html: %.wml $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data \
- $(TEMPLDIR)/security.wml
+ $(TEMPLDIR)/security.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2000/Makefile b/english/security/2000/Makefile
index 4c15d955898..0093facc9ae 100644
--- a/english/security/2000/Makefile
+++ b/english/security/2000/Makefile
@@ -11,11 +11,15 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard [0-9]*.wml) \
$(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2001/Makefile b/english/security/2001/Makefile
index 5804c42bae5..90dc7910d9d 100644
--- a/english/security/2001/Makefile
+++ b/english/security/2001/Makefile
@@ -11,11 +11,15 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2002/Makefile b/english/security/2002/Makefile
index a5137f1e00b..4130a78a0bc 100644
--- a/english/security/2002/Makefile
+++ b/english/security/2002/Makefile
@@ -11,11 +11,15 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2003/Makefile b/english/security/2003/Makefile
index fe3ac5f8311..0ca73d36be7 100644
--- a/english/security/2003/Makefile
+++ b/english/security/2003/Makefile
@@ -11,11 +11,15 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2004/Makefile b/english/security/2004/Makefile
index d17c14d3560..be2a52b86cb 100644
--- a/english/security/2004/Makefile
+++ b/english/security/2004/Makefile
@@ -11,21 +11,25 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
CAN-2004-0077.$(LANGUAGE).html: CAN-2004-0077.wml \
$(ENGLISHSRCDIR)/$(CUR_DIR)/CAN-2004-0077.data \
- $(GETTEXTDEP) $(TEMPLDIR)/template.wml
+ $(GETTEXTDEP) $(TEMPLDIR)/template.wml | $(VCSREVCACHE)
$(WML) $(<F)
CAN-2004-0109.$(LANGUAGE).html: CAN-2004-0109.wml \
$(ENGLISHSRCDIR)/$(CUR_DIR)/CAN-2004-0109.data \
- $(GETTEXTDEP) $(TEMPLDIR)/template.wml
+ $(GETTEXTDEP) $(TEMPLDIR)/template.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2005/Makefile b/english/security/2005/Makefile
index 83d4849c5bd..04e16defde5 100644
--- a/english/security/2005/Makefile
+++ b/english/security/2005/Makefile
@@ -11,12 +11,16 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2006/Makefile b/english/security/2006/Makefile
index 9a1de5c751d..9fcb3a762d4 100644
--- a/english/security/2006/Makefile
+++ b/english/security/2006/Makefile
@@ -11,12 +11,16 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2007/Makefile b/english/security/2007/Makefile
index 037f62cc73d..ed6fa62eea7 100644
--- a/english/security/2007/Makefile
+++ b/english/security/2007/Makefile
@@ -11,12 +11,16 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2008/Makefile b/english/security/2008/Makefile
index e26c2579bb8..6c5f5d93e7b 100644
--- a/english/security/2008/Makefile
+++ b/english/security/2008/Makefile
@@ -11,12 +11,16 @@ 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2009/Makefile b/english/security/2009/Makefile
index a759d1c963d..1e458e43f31 100644
--- a/english/security/2009/Makefile
+++ b/english/security/2009/Makefile
@@ -10,13 +10,17 @@ GETTEXTFILES += security.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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2010/Makefile b/english/security/2010/Makefile
index 43eddb040bc..4904cb60a4f 100644
--- a/english/security/2010/Makefile
+++ b/english/security/2010/Makefile
@@ -10,13 +10,17 @@ GETTEXTFILES += security.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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2011/Makefile b/english/security/2011/Makefile
index 58662a4ffbc..9970b877dd6 100644
--- a/english/security/2011/Makefile
+++ b/english/security/2011/Makefile
@@ -10,13 +10,17 @@ GETTEXTFILES += security.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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2012/Makefile b/english/security/2012/Makefile
index 861cebe8c0f..e90ad6ccde9 100644
--- a/english/security/2012/Makefile
+++ b/english/security/2012/Makefile
@@ -10,13 +10,17 @@ GETTEXTFILES += security.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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2013/Makefile b/english/security/2013/Makefile
index 1055af33146..290097b3e62 100644
--- a/english/security/2013/Makefile
+++ b/english/security/2013/Makefile
@@ -10,13 +10,17 @@ GETTEXTFILES += security.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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml $(wildcard dsa-[0-9]*.wml) \
$(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2014/Makefile b/english/security/2014/Makefile
index 68551f3949f..7013e157733 100644
--- a/english/security/2014/Makefile
+++ b/english/security/2014/Makefile
@@ -10,13 +10,17 @@ GETTEXTFILES += security.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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml \
$(wildcard dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data) \
$(wildcard dla-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dla-[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2015/Makefile b/english/security/2015/Makefile
index e46350532cc..c2c305e882a 100644
--- a/english/security/2015/Makefile
+++ b/english/security/2015/Makefile
@@ -10,13 +10,17 @@ GETTEXTFILES += security.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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml \
$(wildcard dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data) \
$(wildcard dla-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dla-[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2016/Makefile b/english/security/2016/Makefile
index d92b7b9553c..7a2973998a5 100644
--- a/english/security/2016/Makefile
+++ b/english/security/2016/Makefile
@@ -10,13 +10,17 @@ GETTEXTFILES += security.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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
index.$(LANGUAGE).html: index.wml \
$(wildcard dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data) \
$(wildcard dla-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dla-[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/security/2017/Makefile b/english/security/2017/Makefile
index 4e7d0f9845e..62c23eba9da 100644
--- a/english/security/2017/Makefile
+++ b/english/security/2017/Makefile
@@ -20,7 +20,7 @@ endif
$(INDEXPAGE): index.wml \
$(wildcard dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data) \
$(wildcard dla-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dla-[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP) | $(VCSREVCACHE)
ifeq "$(LANGUAGE)" "zh"
@echo -n "Processing $(<F): "
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:index.zh-$$1.html,g') \
@@ -31,8 +31,12 @@ else
$(WML) $(<F)
endif
+# 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
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
ifeq "$(LANGUAGE)" "zh"
@$(GENERATE_ZH_VARIANTS) $* html
diff --git a/english/security/2018/Makefile b/english/security/2018/Makefile
index 9cc353fe282..77f5a796fb0 100644
--- a/english/security/2018/Makefile
+++ b/english/security/2018/Makefile
@@ -17,10 +17,14 @@ else
INDEXPAGE = $(sort $(foreach i,$(SUBLANG),$(subst index,index.$(LANGUAGE)-$(i),index.html)))
endif
+# 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
$(INDEXPAGE): index.wml \
$(wildcard dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dsa-[0-9]*.data) \
$(wildcard dla-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/dla-[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP)
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list_security.wml $(GETTEXTDEP) | $(VCSREVCACHE)
ifeq "$(LANGUAGE)" "zh"
@echo -n "Processing $(<F): "
$(shell echo $(WML) | perl -pe 's,:.zh-(..)\.html,:index.zh-$$1.html,g') \
@@ -32,7 +36,7 @@ else
endif
%.$(LANGUAGE).html: %.wml $(TEMPLDIR)/security.wml \
- $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP)
+ $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data $(GETTEXTDEP) | $(VCSREVCACHE)
$(WML) $(<F)
ifeq "$(LANGUAGE)" "zh"
@$(GENERATE_ZH_VARIANTS) $* html
diff --git a/english/security/parse-advisory.pl b/english/security/parse-advisory.pl
index d3a737fcf6f..9bf3115003c 100755
--- a/english/security/parse-advisory.pl
+++ b/english/security/parse-advisory.pl
@@ -285,12 +285,17 @@ sub make_makefile{
$makefile .= qq|GETTEXTFILES += security.mo\n\n|;
$makefile .= qq|NOGENERICDEP := true\n|;
$makefile .= qq|include \$(WMLBASE)/Make.lang\n\n\n|;
+ $makefile .= qq|# The "\| $(VCSREVCACHE)" here is an order-only prerequisite - always|;
+ $makefile .= qq|# check that the prerequisite exists and is up to date, but don't|;
+ $makefile .= qq|# rebuild everything whenever it's updated - see|;
+ $makefile .= qq|# https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html|;
+
$makefile .= qq|\%.\$(LANGUAGE).html: \%.wml \$(TEMPLDIR)/security.wml \\\n|;
- $makefile .= qq| \$(ENGLISHSRCDIR)/\$(CUR_DIR)/\%.data \$(GETTEXTDEP)\n|;
+ $makefile .= qq| \$(ENGLISHSRCDIR)/\$(CUR_DIR)/\%.data \$(GETTEXTDEP) \| \$(VCSREVCACHE)\n|;
$makefile .= qq|\t\$(WML) \$(<F)\n\n|;
$makefile .= qq|index.\$(LANGUAGE).html: index.wml \$(wildcard dsa-[0-9]*.wml) \\\n|;
$makefile .= qq| \$(ENGLISHSRCDIR)/\$(CUR_DIR)/dsa-[0-9]*.data \\\n|;
- $makefile .= qq| \$(TEMPLDIR)/template.wml \$(TEMPLDIR)/recent_list.wml \$(GETTEXTDEP)\n|;
+ $makefile .= qq| \$(TEMPLDIR)/template.wml \$(TEMPLDIR)/recent_list.wml \$(GETTEXTDEP) \| \$(VCSREVCACHE)\n|;
$makefile .= qq|\t\$(WML) \$(<F)\n|;
open MAKEFILE, ">", "$curyear/Makefile";
print MAKEFILE $makefile;
diff --git a/english/security/undated/Makefile b/english/security/undated/Makefile
index f8ba2ff70fc..4d58443237e 100644
--- a/english/security/undated/Makefile
+++ b/english/security/undated/Makefile
@@ -8,12 +8,15 @@ SUBS=
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 $(wildcard [0-9]*.wml) \
$(wildcard $(ENGLISHSRCDIR)/$(CUR_DIR)/[0-9]*.data) \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/recent_list.wml | $(VCSREVCACHE)
$(WML) $(<F)
%.$(LANGUAGE).html: %.wml $(ENGLISHSRCDIR)/$(CUR_DIR)/%.data \
- $(TEMPLDIR)/security.wml
+ $(TEMPLDIR)/security.wml | $(VCSREVCACHE)
$(WML) $(<F)
diff --git a/english/women/profiles/Makefile b/english/women/profiles/Makefile
index 9d7cdf188d9..1c98a114684 100644
--- a/english/women/profiles/Makefile
+++ b/english/women/profiles/Makefile
@@ -10,10 +10,14 @@ PROFILES := $(filter-out index.wml, $(wildcard *.wml))
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
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml | $(VCSREVCACHE)
$(WML) $(<F)
ifeq "$(LANGUAGE)" "en"
-$(WMLBASE)/../touch_translations.pl $(CURDIR)/$(<F) $(LANGUAGE)
@@ -27,7 +31,7 @@ endif
$(ENGLISHSRCDIR)/women/profiles/profiles.def \
$(TEMPLDIR)/faqs.wml \
$(TEMPLDIR)/profiles.wml \
- $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml
+ $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml | $(VCSREVCACHE)
$(WML) $(<F)
ifeq "$(LANGUAGE)" "en"
-$(WMLBASE)/../touch_translations.pl $(CURDIR)/$(<F) $(LANGUAGE)
diff --git a/french/devel/debian-jr/News/Make.year b/french/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..0cc674fff96
--- /dev/null
+++ b/french/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/french,webwml/english,$(CURDIR))/../Make.year
diff --git a/french/devel/debian-med/News/Make.year b/french/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..0cc674fff96
--- /dev/null
+++ b/french/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/french,webwml/english,$(CURDIR))/../Make.year
diff --git a/german/devel/debian-jr/News/Make.year b/german/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..943149d07d0
--- /dev/null
+++ b/german/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/german,webwml/english,$(CURDIR))/../Make.year
diff --git a/german/devel/debian-med/News/Make.year b/german/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..943149d07d0
--- /dev/null
+++ b/german/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/german,webwml/english,$(CURDIR))/../Make.year
diff --git a/italian/devel/debian-jr/News/Make.year b/italian/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..500219d88c4
--- /dev/null
+++ b/italian/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/italian,webwml/english,$(CURDIR))/../Make.year
diff --git a/italian/devel/debian-med/News/Make.year b/italian/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..500219d88c4
--- /dev/null
+++ b/italian/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/italian,webwml/english,$(CURDIR))/../Make.year
diff --git a/japanese/devel/debian-jr/News/Make.year b/japanese/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..f281c8c86ed
--- /dev/null
+++ b/japanese/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/japanese,webwml/english,$(CURDIR))/../Make.year
diff --git a/japanese/devel/debian-med/News/Make.year b/japanese/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..f281c8c86ed
--- /dev/null
+++ b/japanese/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/japanese,webwml/english,$(CURDIR))/../Make.year
diff --git a/polish/devel/debian-jr/News/Make.year b/polish/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..59fd35f7b6c
--- /dev/null
+++ b/polish/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/polish,webwml/english,$(CURDIR))/../Make.year
diff --git a/polish/devel/debian-med/News/Make.year b/polish/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..59fd35f7b6c
--- /dev/null
+++ b/polish/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/polish,webwml/english,$(CURDIR))/../Make.year
diff --git a/portuguese/devel/debian-jr/News/Make.year b/portuguese/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..41cfe5d621d
--- /dev/null
+++ b/portuguese/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/portuguese,webwml/english,$(CURDIR))/../Make.year
diff --git a/portuguese/devel/debian-med/News/Make.year b/portuguese/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..41cfe5d621d
--- /dev/null
+++ b/portuguese/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/portuguese,webwml/english,$(CURDIR))/../Make.year
diff --git a/russian/devel/debian-jr/News/Make.year b/russian/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..f1073dd1191
--- /dev/null
+++ b/russian/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/russian,webwml/english,$(CURDIR))/../Make.year
diff --git a/russian/devel/debian-med/News/Make.year b/russian/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..f1073dd1191
--- /dev/null
+++ b/russian/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/russian,webwml/english,$(CURDIR))/../Make.year
diff --git a/spanish/devel/debian-jr/News/Make.year b/spanish/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..3a0e946d684
--- /dev/null
+++ b/spanish/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/spanish,webwml/english,$(CURDIR))/../Make.year
diff --git a/spanish/devel/debian-med/News/Make.year b/spanish/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..3a0e946d684
--- /dev/null
+++ b/spanish/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/spanish,webwml/english,$(CURDIR))/../Make.year
diff --git a/swedish/devel/debian-jr/News/Make.year b/swedish/devel/debian-jr/News/Make.year
new file mode 100644
index 00000000000..c65ecb9768d
--- /dev/null
+++ b/swedish/devel/debian-jr/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/swedish,webwml/english,$(CURDIR))/../Make.year
diff --git a/swedish/devel/debian-med/News/Make.year b/swedish/devel/debian-med/News/Make.year
new file mode 100644
index 00000000000..c65ecb9768d
--- /dev/null
+++ b/swedish/devel/debian-med/News/Make.year
@@ -0,0 +1 @@
+include $(subst webwml/swedish,webwml/english,$(CURDIR))/../Make.year

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