Re: [DONE] webwml://Bugs/pseudo-packages.translated-description
* Frédéric Bothamy <frederic.bothamy@free.fr> [2004-02-12 02:12] :
> * Frédéric Bothamy <frederic.bothamy@free.fr> [2004-02-11 13:30] :
> > * Frédéric Bothamy <frederic.bothamy@free.fr> [2004-02-08 19:28] :
> > > * Frédéric Bothamy <frederic.bothamy@free.fr> [2004-02-08 18:56] :
> > > > Bonjour,
> > > >
> > > > Je me propose de faire la traduction des descriptions des pseudo-paquets
> > > > du BTS Debian (http://www.debian.org/Bugs/pseudo-packages).
[...]
Bon, la page ne se génère pas automatiquement à cause d'un petit
problème de dépendances entre fichiers dans
webwml://english/Bugs/Makefile.
Denis, que penses-tu d'une modification comme ceci à ce fichier :
Index: Makefile
===================================================================
RCS file: /cvs/webwml/webwml/english/Bugs/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile 2 Nov 2002 18:02:31 -0000 1.15
+++ Makefile 13 Feb 2004 00:16:59 -0000
@@ -21,4 +21,5 @@
server-request.$(LANGUAGE).html: $(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc
pseudo-packages.$(LANGUAGE).html: $(ENGLISHDIR)/Bugs/pseudo-packages.description \
$(TEMPLDIR)/template.wml otherpages.inc $(ENGLISHDIR)/Bugs/footer.inc \
- $(ENGLISHDIR)/Bugs/pseudo-packages.inc
+ $(ENGLISHDIR)/Bugs/pseudo-packages.inc \
+ $(shell [ -f pseudo-packages.translated-description ] && echo "pseudo-packages.translated-description")
--- Fin du diff
Cela me semble faire ce qu'il faut que le fichier existe ou non pour
toutes les langues (y compris l'anglais). Si ça te convient, je le
propose ensuite sur debian-www.
Fred
Reply to: