On Wed, Aug 01, 2001 at 12:47:15PM +1000, Craig Small wrote: > On Tue, Jul 31, 2001 at 08:23:46PM +0200, Josip Rodin wrote: > > On Tue, Jul 31, 2001 at 03:11:08PM -0300, Gustavo Noronha Silva wrote: > > > I am having this problem: > > > > > > [EMAIL PROTECTED]/debian/www/webwml/portuguese/News/weekly] # make > > > 2001/18/index.pt.html > > > cd 2001/18 && wml -q -D CUR_YEAR=2001 -o UNDEFuPT:[EMAIL PROTECTED] > > > index.wml > > > ** IPP:Error: file not found: debian/countries.def > > > ** WML:Break: Error in Pass 1 (rc=1). > > > make: ** [2001/18/index.pt.html] Erro 1 > > > > > > I tried to get the english's directory makefile but it didn't suffice.. > > > I read the countries.wml thread but I don't think that I found > > > something usefull there... > > > > Try updating webwml/english/template/debian from CVS. > > The NM pages are getting that problem too.
Try attached patch against your toplevel Makefile Denis
--- Makefile Sun Jul 15 13:50:38 2001 +++ /home/barbier/Makefile Wed Aug 1 08:43:04 2001 @@ -15,7 +15,7 @@ else DEBTEMPLATEDIR := ../webwml/english/template endif -DEBTEMPLATES=$(wildcard $(DEBTEMPLATEDIR)/debian/*.wml) $(wildcard template/*.wml) +DEBTEMPLATES=$(wildcard $(DEBTEMPLATEDIR)/debian/*.wml) $(DEBTEMPLATEDIR)/debian/countries.def $(wildcard template/*.wml) #WML_DEFS= -DINTRO="http://www.debian.org/intro" -DDISTRIB="http://www.debian.org/distrib" -DHOME="http://www.debian.org" -DPICS="http://www.debian.org/Pics" -DCUR_ISO_LANG="en" -I $(DEBTEMPLATEDIR) -I template -DSEARCH="http://search.debian.org/" TARGETDIR=../../web @@ -40,3 +40,7 @@ clean: rm -f $(PHPFILES) $(HTMLFILES) + +$(DEBTEMPLATEDIR)/debian/countries.def: $(DEBTEMPLATEDIR)/debian/countries.wml + cd $(DEBTEMPLATEDIR)/debian && sed -e /^#/d countries.wml | eperl -B '<:' -E ':>' - >/dev/null +