bug-make
[Top][All Lists]
Advanced

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

undesired action of pattern rules?


From: Dr. M. Luedde
Subject: undesired action of pattern rules?
Date: Thu, 13 Jun 2002 17:35:14 +0200

Hello!

Why does `make dvi' (GNU Make version 3.79.1 on i686-pc-cygwin) with
the Makefile attached below end up in doing `rm Master.aux', see the
attached log script?

I'm not telling `make' to do it and any implicit rules should be
switched off.

This means that on each invocation of `make dvi' the commands `latex'
and `bibtex' will run too many times.

Regards, Mirko. 

******** sample Makefile **********
# remove list of implicitly defined files suffixes for GNU make.
.SUFFIXES :

%.aux:  *.tex
        latex $(*F)

%.bbl:  %.aux *.tex
        bibtex $(*F)

.PHONY : dvi
dvi :   Master.bbl *.tex
        latex Master
        latex Master
******** end of sample Makefile **********

******** sample log script **********
latex Master
This is TeX, Version 3.14159 (MiKTeX 2.1)
(Master.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for english, french, german, ngerman, du
mylang, nohyphenation, loaded.
(D:\Tools\texmf\tex\latex\amscls\amsart.cls
Document Class: amsart 2000/10/26 v2.08
(D:\Tools\texmf\tex\latex\amsmath\amsmath.sty
For additional information on amsmath, use the `?' option.
(D:\Tools\texmf\tex\latex\amsmath\amstext.sty
(D:\Tools\texmf\tex\latex\amsmath\amsgen.sty))
(D:\Tools\texmf\tex\latex\amsmath\amsbsy.sty)
(D:\Tools\texmf\tex\latex\amsmath\amsopn.sty))
(D:\Tools\texmf\tex\latex\amsfonts\umsa.fd)
(D:\Tools\texmf\tex\latex\amsfonts\amsfonts.sty))
(D:\Tools\texmf\tex\latex\ntgclass\a4.sty)
(D:\Tools\texmf\tex\latex\hyperref\hyperref.sty
(D:\Tools\texmf\tex\latex\graphics\keyval.sty)
(D:\Tools\texmf\tex\latex\hyperref\pd1enc.def)
(D:\Tools\texmf\tex\latex\00miktex\hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(D:\Tools\texmf\tex\latex\ltxmisc\url.sty))
*hyperref using driver hypertex*
(D:\Tools\texmf\tex\latex\hyperref\hypertex.def)

LaTeX Warning: Unused global option(s):
    [latexsym].

No file Master.aux.
(D:\Tools\texmf\tex\latex\amsfonts\umsa.fd)
(D:\Tools\texmf\tex\latex\amsfonts\umsb.fd)
(D:\Tools\texmf\tex\latex\hyperref\nameref.sty)

LaTeX Warning: Citation `JWParceJCOwickiEtAl1989-10' on page 1 undefined on inp
ut line 55.


LaTeX Warning: Citation `JCOwickiJWParce1992' on page 1 undefined on input line
 55.

[1] [2] (D:\Mirko_Luedde\Bibliography\Bibliography.tex
No file Master.bbl.
)
No file Master.ind.
[3] (Master.aux)


LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
Output written on Master.dvi (3 pages, 10560 bytes).
Transcript written on Master.log.
bibtex Master
This is BibTeX, Version 0.99c (MiKTeX 2.1)
The top-level auxiliary file: Master.aux
The style file: amsalpha.bst
Database file #1: Biology.bib
Database file #2: Chemistry.bib
Database file #3: Computing.bib
Database file #4: Mathematics.bib
Database file #5: Mirko_Articles.bib
Database file #6: Miscellaneous.bib
Database file #7: Physics.bib
Database file #8: Science.bib
latex Master
This is TeX, Version 3.14159 (MiKTeX 2.1)
(Master.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for english, french, german, ngerman, du
mylang, nohyphenation, loaded.
(D:\Tools\texmf\tex\latex\amscls\amsart.cls
Document Class: amsart 2000/10/26 v2.08
(D:\Tools\texmf\tex\latex\amsmath\amsmath.sty
For additional information on amsmath, use the `?' option.
(D:\Tools\texmf\tex\latex\amsmath\amstext.sty
(D:\Tools\texmf\tex\latex\amsmath\amsgen.sty))
(D:\Tools\texmf\tex\latex\amsmath\amsbsy.sty)
(D:\Tools\texmf\tex\latex\amsmath\amsopn.sty))
(D:\Tools\texmf\tex\latex\amsfonts\umsa.fd)
(D:\Tools\texmf\tex\latex\amsfonts\amsfonts.sty))
(D:\Tools\texmf\tex\latex\ntgclass\a4.sty)
(D:\Tools\texmf\tex\latex\hyperref\hyperref.sty
(D:\Tools\texmf\tex\latex\graphics\keyval.sty)
(D:\Tools\texmf\tex\latex\hyperref\pd1enc.def)
(D:\Tools\texmf\tex\latex\00miktex\hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(D:\Tools\texmf\tex\latex\ltxmisc\url.sty))
*hyperref using driver hypertex*
(D:\Tools\texmf\tex\latex\hyperref\hypertex.def)

LaTeX Warning: Unused global option(s):
    [latexsym].

(Master.aux) (D:\Tools\texmf\tex\latex\amsfonts\umsa.fd)
(D:\Tools\texmf\tex\latex\amsfonts\umsb.fd)
(D:\Tools\texmf\tex\latex\hyperref\nameref.sty) (Master.toc)

LaTeX Warning: Citation `JWParceJCOwickiEtAl1989-10' on page 1 undefined on inp
ut line 55.


LaTeX Warning: Citation `JCOwickiJWParce1992' on page 1 undefined on input line
 55.

[1] [2] (D:\Mirko_Luedde\Bibliography\Bibliography.tex (Master.bbl))
No file Master.ind.
[3] (Master.aux)


LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
Output written on Master.dvi (3 pages, 12528 bytes).
Transcript written on Master.log.
latex Master
This is TeX, Version 3.14159 (MiKTeX 2.1)
(Master.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for english, french, german, ngerman, du
mylang, nohyphenation, loaded.
(D:\Tools\texmf\tex\latex\amscls\amsart.cls
Document Class: amsart 2000/10/26 v2.08
(D:\Tools\texmf\tex\latex\amsmath\amsmath.sty
For additional information on amsmath, use the `?' option.
(D:\Tools\texmf\tex\latex\amsmath\amstext.sty
(D:\Tools\texmf\tex\latex\amsmath\amsgen.sty))
(D:\Tools\texmf\tex\latex\amsmath\amsbsy.sty)
(D:\Tools\texmf\tex\latex\amsmath\amsopn.sty))
(D:\Tools\texmf\tex\latex\amsfonts\umsa.fd)
(D:\Tools\texmf\tex\latex\amsfonts\amsfonts.sty))
(D:\Tools\texmf\tex\latex\ntgclass\a4.sty)
(D:\Tools\texmf\tex\latex\hyperref\hyperref.sty
(D:\Tools\texmf\tex\latex\graphics\keyval.sty)
(D:\Tools\texmf\tex\latex\hyperref\pd1enc.def)
(D:\Tools\texmf\tex\latex\00miktex\hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(D:\Tools\texmf\tex\latex\ltxmisc\url.sty))
*hyperref using driver hypertex*
(D:\Tools\texmf\tex\latex\hyperref\hypertex.def)

LaTeX Warning: Unused global option(s):
    [latexsym].

(Master.aux) (D:\Tools\texmf\tex\latex\amsfonts\umsa.fd)
(D:\Tools\texmf\tex\latex\amsfonts\umsb.fd)
(D:\Tools\texmf\tex\latex\hyperref\nameref.sty) (Master.toc) [1] [2]
(D:\Mirko_Luedde\Bibliography\Bibliography.tex (Master.bbl))
No file Master.ind.
[3] (Master.aux)


 )
Output written on Master.dvi (3 pages, 12712 bytes).
Transcript written on Master.log.
rm Master.aux
******** end of sample log script **********




reply via email to

[Prev in Thread] Current Thread [Next in Thread]