From: H.G. Muller Date: Fri, 22 Jan 2010 16:53:54 +0000 (+0100) Subject: Put all files in tar ball in a directory X-Git-Tag: 4.8P~15 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=74715369560c631d57e9d186b3b2682590c9e825;p=fairymax.git Put all files in tar ball in a directory The dist target in the Makefile was changed to first copy everything to temporary directory, and then pack that in a tar ball. --- diff --git a/Makefile b/Makefile index 4788221..08d5a2c 100644 --- a/Makefile +++ b/Makefile @@ -39,10 +39,18 @@ dist-clean: rm -f ${ALL} *~ data/*~ *.man md5sums dist: + install -d -m0755 Fairy-Max + install -d -m0755 Fairy-Max/data rm -f fairymax.tar fairymax.tar.gz - md5 ./* ./data/* > md5sums - tar -cvvf fairymax.tar fairymax.c maxqi.c fairymax.pod Makefile README changelog copyright md5sums data + cp fairymax.c maxqi.c fairymax.pod Makefile README changelog copyright md5sums Fairy-Max + cp data/* Fairy-Max/data + md5 Fairy-Max/* Fairy-Max/data/* > Fairy-Max/md5sums + tar -cvvf fairymax.tar Fairy-Max gzip fairymax.tar + rm Fairy-Max/data/* + rmdir Fairy-Max/data + rm Fairy-Max/* + rmdir Fairy-Max uninstall: rm -f $(DESTDIR)/usr/share/games/fairymax/*