Since r12298, development versions have been "$ABI_$DATE" instead of
"$ABI ($DATE)".
--checksum $(OCAML_ABI)
dh_gencontrol
# Check that OCAML_ABI is correct
- if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ./ocamlc -version | { read a b && echo $$a; })" ]; then \
+ if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ./ocamlc -version | { read a && echo $${a%%_*}; })" ]; then \
echo "Please adjust OCAML_ABI in debian/rules"; \
exit 2; \
fi