On Mon, Jan 17, 2005 at 11:57:59AM +0100, Frank Lichtenheld wrote:
> On Mon, Jan 17, 2005 at 11:20:16AM +0100, Javier Fernández-Sanguino Peña wrote:
> > I'm not sure who has access to master, but it seems that it's unable to
> > regenerate the HTML files for the "Securing Debian Manual". Reviewing the
> > publish logs [1] it just tries to install the HTML files without
> > regenerating them even though the publised html files hold a date of back
> > December.
> >
> > I'm not sure if this is a time-skew problem, or a problem on my side, but I
> > would appreciate if someone could force the 'securing-debian-howto'
> > directory to be rebuilt in master. Anyone?
>
> This seems to be a bug in your Makefile:
> $(MANUAL).%.html.stamp: $(MANUAL).%.sgml $(MANUAL).%.ent $(wildcard %/*.sgml)
>
> This doesn't match the English version because the file is called
> $(MANUAL).sgml and not $(MANUAL).en.sgml. All other versions seem to
> be up-to-date (AFAICT from the stamp files).
The english version should actually be $(MANUAL).en.sgml (it's part of
SGMLSRCS since 'en' is part of LANGS). Notice that this should create it:
(and indeed it does it for me):
$(MANUAL).%.sgml: $(MANUAL0).sgml
sed -e "s/@@LANGS@@/$*/g" \
-e "s/@@DIRS@@/$*/g" \
-e "s/@@NAME@@/$(MANUAL)/g" \
$< > $(MANUAL).$*.sgml
I've actually removed those files from CVS (all the .XX.sgml files where in
CVS to keep the history, but I have decided to keep them out since they are
generated automatically), let's see if that works out..
Regards
Javier
Attachment:
signature.asc
Description: Digital signature