From 74715369560c631d57e9d186b3b2682590c9e825 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 22 Jan 2010 17:53:54 +0100 Subject: [PATCH] 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. --- Makefile | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) 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/* -- 1.7.0.4