Show a helpful message when 'make check-exports' fails
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 5 Feb 2009 15:17:16 +0000 (15:17 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 5 Feb 2009 15:17:16 +0000 (15:17 +0000)
win32.mak

index 61c41fe..c66a199 100644 (file)
--- a/win32.mak
+++ b/win32.mak
@@ -47,6 +47,12 @@ check-exports:
            fi; \
          fi; \
        done ; \
+       if test $$fail != 0; then \
+         echo '-----------------------------------------------------------'; \
+         echo 'Run this to update the .def files:'; \
+         echo 'make check-exports 2>&1 | patch -p1'; \
+         echo '-----------------------------------------------------------'; \
+       fi; \
        exit $$fail