make-w32
[Top][All Lists]
Advanced

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

Re: Re: New make PATH problem(?)


From: robert . h . fletcher
Subject: Re: Re: New make PATH problem(?)
Date: Sat, 12 Apr 2008 15:01:42 -0400

Eli,
Thanks for the suggestion. The original Makefile outputs a great deal to the 
console.
I commented out everything but the problematic code, which still demonstrates 
the problem.
The modified Makefile is:

        all: clean refman.pdf

        pdf: refman.pdf

        refman.pdf: refman.tex
        #       pdflatex refman.tex
        #       makeindex refman.idx
        #       pdflatex refman.tex
            latex_count=5 ; \
            while egrep -s 'Rerun (LaTeX|to get cross-references right)' 
refman.log && [ $$latex_count -gt 0 ] ;\
                do \
                  echo "Rerunning latex...." ;\
                  pdflatex refman.tex ;\
                  latex_count=`expr $$latex_count - 1` ;\
                done


        clean:
            rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out 
refman.pdf


I then ran make on this Makefile with the --debug=vj option using both the 
earlier and the latest make versions

Case (1)
C:\msys\1.0\bin in PATH, mingw32-make (from mingw32-make-3.81-2.tar.gz) and 
--debug=vj
Console output:
    GNU Make 3.81
    Copyright (C) 2006  Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.

    This program built for i386-pc-mingw32
    find_and_set_shell path search set default_shell = C:/msys/1.0/bin/sh.exe
    Reading makefiles...
    Reading makefile `makefile'...
    Updating goal targets....
    Considering target file `refman.pdf'.
     File `refman.pdf' does not exist.
      Considering target file `refman.tex'.
       Finished prerequisites of target file `refman.tex'.
      No need to remake target `refman.tex'.
     Finished prerequisites of target file `refman.pdf'.
    Must remake target `refman.pdf'.
    latex_count=5 ; \
            while egrep -s 'Rerun (LaTeX|to get cross-references right)' 
refman.log && [ $latex_count -gt 0 ] ;\
                do \
                  echo "Rerunning latex...." ;\
                  pdflatex refman.tex ;\
                  latex_count=`expr $latex_count - 1` ;\
                done
    Main thread handle = 0x000007ac
    Successfully remade target file `refman.pdf'.

Case (2)
C:\msys\1.0\bin in PATH, mingw32-make (from mingw32-make-3.81-20080326.tar.gz) 
and --debug=vj
Console output:
    GNU Make 3.81
    Copyright (C) 2006  Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.

    This program built for i686-pc-mingw32
    Reading makefiles...
    Reading makefile `makefile'...
    Updating goal targets....
    Considering target file `refman.pdf'.
     File `refman.pdf' does not exist.
      Considering target file `refman.tex'.
       Finished prerequisites of target file `refman.tex'.
      No need to remake target `refman.tex'.
     Finished prerequisites of target file `refman.pdf'.
    Must remake target `refman.pdf'.
    latex_count=5 ; \
            while egrep -s 'Rerun (LaTeX|to get cross-references right)' 
refman.log && [ $latex_count -gt 0 ] ;\
                do \
                  echo "Rerunning latex...." ;\
                  pdflatex refman.tex ;\
                  latex_count=`expr $latex_count - 1` ;\
                done
    Main thread handle = 0x000007bc
    'latex_count' is not recognized as an internal or external command,
    operable program or batch file.
    mingw32-make-new: *** [refman.pdf] Error 255


As I am sure you expected, Case (2) does not have a statement like
    find_and_set_shell path search set default_shell = C:/msys/1.0/bin/sh.exe
Maybe I need to have a macro or something set.

Thanks,
Bob


--
This message was sent on behalf of address@hidden at openSubscriber.com
http://www.opensubscriber.com/message/address@hidden/9000687.html




reply via email to

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