accomodate for different latex output warnings about undefined refs
authorAaron Kaplan <aaron@lo-res.org>
Tue, 3 Jun 2014 20:10:28 +0000 (22:10 +0200)
committerAaron Kaplan <aaron@lo-res.org>
Tue, 3 Jun 2014 20:10:28 +0000 (22:10 +0200)
src/Makefile

index 2e051ed..b2022d2 100644 (file)
@@ -14,7 +14,7 @@ pdf:
        bibtex applied-crypto-hardening
        makeglossaries applied-crypto-hardening
        ${LATEX} applied-crypto-hardening
-       while grep -s "Rerun to get cross-references right" \
+       while grep -E "(Rerun to get cross-references right)|(There were undefined references)" \
         applied-crypto-hardening.log ; do \
            ${LATEX} applied-crypto-hardening ; \
        done