Bug#537306: d.o/international/Makefile: conditionnal subdirs never updated because $(LANGUAGE) Makefile targets never match
Package: www.debian.org
Severity: normal
Hi all,
A while ago, french team members noticed updates to
webml/french/international/french were not taken into account on the
website (and given the Makefile, it certainly affects spanish and
dutch).
This is a request for help since I don't see where is the issue.
Here is the status (consider as a example french/{dwn_trans|web}.wml
* from webml/french/international/french, the Makefile is correct and
the html file is rebuild as expected.
* from webml/french/international/, the Makefile seems correct but the
html file is not rebuild if needed.
However, if we look with care to english/international/Makefile:
ifeq "$(LANGUAGE)" "fr"
SUBS += french
endif
* if I add a specific debug target :
debug:
^I@echo $(SUBS)
^I@echo $(LANGUAGE)
=> I can see that SUBS doesn't contain french, while :
- $(LANGUAGE) contains fr
- ifeq syntax is correct
- SUBS syntax is correct (tested outside the ifeq)
Any idea ?
--
Simon Paillard
Reply to: