Re: Problem building wml

2001-08-01 Thread Denis Barbier
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
--- MakefileSun 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
+


Re: Problem building wml

2001-07-31 Thread Craig Small
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.

  - Craig
-- 
Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/<[EMAIL PROTECTED]>
MIEEE <[EMAIL PROTECTED]> Debian developer <[EMAIL PROTECTED]>



Re: Problem building wml

2001-07-31 Thread Denis Barbier
On Tue, Jul 31, 2001 at 04:11:24PM -0300, Gustavo Noronha Silva wrote:
> > Try updating webwml/english/template/debian from CVS.
> I did that just before I tried that but I'll try it again
> later

You have to update webwml/Makefile.common

Denis



Re: Problem building wml

2001-07-31 Thread Gustavo Noronha Silva
Em Tue, 31 Jul 2001 20:23:46 +0200
Josip Rodin <[EMAIL PROTECTED]> escreveu:

> Try updating webwml/english/template/debian from CVS.
I did that just before I tried that but I'll try it again
later

[]s!

-- 
Gustavo Noronha Silva - kov 
**
|  .''`.  | Debian GNU/Linux: |
| : :'  : | Debian BR...:  |
| `. `'`  |  Be Happy! Be FREE!  |
|   `-| "Think globally, act locally!"   |
**



Re: Problem building wml

2001-07-31 Thread Josip Rodin
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.

-- 
Digital Electronic Being Intended for Assassination and Nullification



Problem building wml

2001-07-31 Thread Gustavo Noronha Silva
Hello all,

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...

maybe we should change something in the wmls? 

Well, this one shouldn't break as it is the new DWN's wml =(

[]s!

-- 
Gustavo Noronha Silva - kov 
**
|  .''`.  | Debian GNU/Linux: |
| : :'  : | Debian BR...:  |
| `. `'`  |  Be Happy! Be FREE!  |
|   `-| "Think globally, act locally!"   |
**