From: H.G. Muller Date: Fri, 7 Oct 2011 15:44:06 +0000 (+0200) Subject: Adapt make-dist for Ubuntu crippling of md5 X-Git-Tag: 4.8R~4 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=6b13783ce6730e04d2f84fd960d5ac93bbe3e68b;p=fairymax.git 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. --- 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/*