[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: BUG REPORT: Website META Language 1.7.1 (05-06-1999)
- From: Denis Barbier <nospam@thanx>
- Date: Tue, 8 Jun 1999 22:07:20 +0200 (CET)
On Tue, 8 Jun 1999, Alexander Graefe wrote:
> PROBLEM DESCRIPTION:
> wmk doesn't check dependency information. If I #include a template file,
> run wmk, change the template file and re-run wmk, all files are skipped
> instead of being processed.
I can't believe that :(
The patch below fixes this bug.
Let's talk about dependancy. If you type ``wml -MMD'' the dependancies
are put into the file ``${WML_SRC_BASENAME}.d''
Now a Makefile may include all these .d files. But these files must be
rebuild too, so i wonder whether it's safe to have this line
foo.html foo.d: foo.wml twmplate1.tml template2.tmpl
into foo.d
Any idea?
Thanks for the report, Alexander
Denis
--- wml_frontend/wmk.src 1999/06/08 00:14:28 1.11
+++ wml_frontend/wmk.src 1999/06/08 19:40:10
@@ -576,7 +576,7 @@
$skipable = 1;
@IS = stat($file);
- open(DEP, "$wml_ipp $file |");
+ open(DEP, "$wml_ipp -odummy $file |");
@deps = <DEP>;
close(DEP);
$dep = join(' ',@deps);
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com