Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdflatex Makefile uses unix command under Windows (Origin: bugzilla #629485) #3937

Closed
doxygen opened this issue Jul 2, 2018 · 0 comments
Closed

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.6.3 on platform Other
Assigned to: Dimitri van Heesch

On 2010-09-13 07:34:48 +0000, Craig Scott wrote:

The Makefile generated in the latex output directory for running pdflatex uses the "rm" command in the rule for the "clean" target. Under Windows, this should be "del" instead, otherwise the Makefile assumes that mingw, cygwin or something similar is installed. If the command used was "del" then the Makefile could be processed with nmake.

On 2010-09-14 19:00:56 +0000, Dimitri van Heesch wrote:

Yes, makes sense. Should be corrected in the next release.

On 2010-10-09 08:19:22 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.2. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

On 2010-11-22 16:49:54 +0000, Kevin Braun wrote:

This seems to introduce a new problem. Here is the latex/Makefile I get on Windows:

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:
del *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf

As far as I tell, other parts of the makefile still assume a Cygwin environment. At least, nmake can't run this for me. I get the following:
latex_count=5 ; while egrep -s 'Rerun (LaTeX|to get cross-references ri
ght)' refman.log && [ $latex_count -gt 0 ] ; do echo "Rerunning latex...." ; pd
flatex refman.tex ; latex_count=expr $latex_count - 1 ; done
'latex_count' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'latex_count=5' : return code '0xff'

Worse, within my Cygwin environment, the shell doesn't have access to "del", so I can't run the makefile using GNU make either.

On 2010-11-22 19:48:13 +0000, Dimitri van Heesch wrote:

Ok, then I'll just revert the change and require the use of cygwin for latex compilation, unless someone posts a proper solution using only the crappy stuff that comes with a dos box and visual studio.

On 2011-01-03 19:01:12 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.3. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

@doxygen doxygen closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant