Commit e1604fe8 authored by Sergey Goncharov's avatar Sergey Goncharov
Browse files

correction

parent c008112e
Pipeline #29624 passed with stage
in 20 seconds
......@@ -37,7 +37,7 @@ DVIPS = dvips
PDFPS = pdftops
PDF = max_print_line=1000 pdflatex -shell-escape -src -halt-on-error -synctex=1 -interaction nonstopmode -file-line-error-style
OPEN = xdg-open
MD5SUM = md5sum --quiet
MD5SUM = md5sum
# Mac-specific definitions
ifeq ($(shell uname), Darwin)
......@@ -97,7 +97,7 @@ edit: $(SRCNAMES)
$(LATEX) $(@:.dvi=.tex) || (touch --date="`date -R -r $(@:.dvi=.tex)`" $@ & false)
@echo If the citations were updated recompile the .bbl file
grep -o -G "Citation \`[^']*" $(@:.dvi=.log) | $(MD5SUM) -c $(@:.dvi=.cit) || $(BIBTEX) $(@:.dvi=.aux)
grep -o -G "Citation \`[^']*" $(@:.dvi=.log) | $(MD5SUM) -c --quiet $(@:.dvi=.cit) || $(BIBTEX) $(@:.dvi=.aux)
while grep -q "Rerun to get cross-references right." $(@:.dvi=.log); \
do $(LATEX) $(@:.dvi=.tex); done
......@@ -122,7 +122,7 @@ edit: $(SRCNAMES)
test -s $(@:.pdf=.cit) || echo '' | $(MD5SUM) > $(@:.pdf=.cit)
@echo If the citations were updated recompile the .bbl file
grep -o -G "Citation \`[^']*" $(@:.pdf=.log) | $(MD5SUM) -c $(@:.pdf=.cit) || ($(BIBTEX) $(@:.pdf=.aux); $(PDF) $(@:.pdf=.tex) >/dev/null)
grep -o -G "Citation \`[^']*" $(@:.pdf=.log) | $(MD5SUM) -c --quiet $(@:.pdf=.cit) || ($(BIBTEX) $(@:.pdf=.aux); $(PDF) $(@:.pdf=.tex) >/dev/null)
@echo -n "Search for dangling references.. "
@if grep -q "Rerun to get cross-references right." $(@:.pdf=.log); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment