From 6b13783ce6730e04d2f84fd960d5ac93bbe3e68b Mon Sep 17 00:00:00 2001
From: H.G. Muller <h.g.muller@hccnet.nl>
Date: Fri, 7 Oct 2011 17:44:06 +0200
Subject: [PATCH] Adapt make-dist for Ubuntu crippling of md5

md5 apparently is not provided anymore in Ubuntu 10.04, and is replaced
by md5sum, which causes an error when it sees a directory, which
apparently cannot be suppressed by an option. A work-around is now
provided in the Makefile, through ignoring the result.
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 909654f..8f259a8 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ dist:
 	rm -f fairymax.tar fairymax.tar.gz
 	cp fairymax.c maxqi.c fairymax.pod Makefile README changelog copyright Fairy-Max
 	cp data/* Fairy-Max/data
-	md5 Fairy-Max/* Fairy-Max/data/* > Fairy-Max/md5sums
+	(md5sum Fairy-Max/* Fairy-Max/data/* > Fairy-Max/md5sums) || true
 	tar -cvvf fairymax.tar Fairy-Max
 	gzip fairymax.tar
 	rm Fairy-Max/data/*
-- 
1.7.0.4