$(CUR_YEAR) undefined in webwml/english/News/Makefile
It seems that the variable CUR_YEAR is undefined in
english/News/Makefile, so the english/News/index.en.html won't be
updated just because something is added or updated english/News/2000.
Please check and confirm. :-)
I was wondering if CUR_YEAR should be defined "globally",
e.g. add the line
CUR_YEAR=$(shell date +%Y)
to Make.lang or Make.common. I also noticed that in News/weekly/Makefile
it has already been done, but with a different name:
# Get the current year.
YEAR=$(shell date +%Y)
Perhaps we could reach a consensus to standardize this variable, i.e.
CUR_YEAR or YEAR, one or another, but preferably not both, to avoid
confusion or oversight. And perhaps in english/Makefile one could do a
s/2000/\$(CUR_YEAR)/g;
or
s/2000/\$(YEAR)/g;
Cheers,
Anthony
--
Anthony Fok Tung-Ling Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org University of Alberta, Canada
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/
Reply to: