Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Check rabbit.hrl for discrepancies with latest server header

  • Loading branch information...
commit 66dc9a7c320f8f111f02aba1a792212bb801e323 1 parent 1cd8f56
Tony Garnock-Jones authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
6 Makefile
View
@@ -4,6 +4,7 @@ DOC_DIR=doc
VERSION=0.0.1
EJABBERD_INCLUDE_DIR=/usr/lib/ejabberd/include
+CANONICAL_RABBIT_HEADER=../rabbitmq-server/include/rabbit.hrl
WIDTH=1024
#WIDTH=800
@@ -15,7 +16,10 @@ else
SED=sed
endif
-all: mod_rabbitmq.beam
+all: check_rabbit_hrl mod_rabbitmq.beam
+
+check_rabbit_hrl:
+ @if [ -e $(CANONICAL_RABBIT_HEADER) ]; then diff -q $(CANONICAL_RABBIT_HEADER) src/rabbit.hrl; else echo Skipping rabbit.hrl check because $(CANONICAL_RABBIT_HEADER) does not exist; fi
clean:
rm -f mod_rabbitmq.beam
Please sign in to comment.
Something went wrong with that request. Please try again.