From f61f92610844cb15a570e2862e8d06b6bdf3c432 Mon Sep 17 00:00:00 2001 From: o-da <sergey.goncharov@fau.de> Date: Sat, 13 Aug 2022 15:26:47 +0200 Subject: [PATCH] minor --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f45cd24..8fd1500 100644 --- a/Makefile +++ b/Makefile @@ -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 --status $(@:.pdf=.cit) || -rm *.bbl; $(MAKE) bibtex; $(PDF) $(@:.pdf=.tex) >/dev/null + grep -o -G "Citation \`[^']*" $(@:.pdf=.log) | $(MD5SUM) -c --status $(@:.pdf=.cit) || rm -f *.bbl; $(MAKE) bibtex; $(PDF) $(@:.pdf=.tex) >/dev/null @echo -n "Search for dangling references.. " @if grep -q "Rerun to get cross-references right." $(@:.pdf=.log); \ -- GitLab