[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#82852: DWN index for each year needs to depend on all the issues for that year



Hi,

On Tue, 23 Jan 2001 18:42:06 -0800, Matt Kraai wrote:
> > The Makefile dependencies are broken.  I mailed a fix earlier
> > today, but it still doesn't capture that the annual indices should
> > depend on the issues for that year.  I'll try to come up with a
> > solution this evening.
>
> I can't figure out how to make the index for each year depend on
> all the issues for that year.  Does anyone else know how to do
> this?

I just tried to fix this, but it didn't seem to work. My thoughts were:

*/index.$(LANGUAGE).html: %/index.$(LANGUAGE).html: $(wildcard $*/*/index.wml)
      $(wildcard $(ENGLISHSRCDIR)/News/weekly/$*/*) \
      $(TEMPLDIR)/weeklynews/header.wml \
      $(TEMPLDIR)/weeklynews/index.wml \
      $(TEMPLDIR)/weeklynews/footer.wml

This was just a guess based on the info in the make manual, and it didn't
work. Looks like $* can't be used in the DEP-PATTERNS part, only COMMANDS.
Using % instead of $* doesn't work, either.

Does anyone have a hint?

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: