From 7540aa4c58ce36f9c6588f9bb41d1a25d745889d Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Tue, 8 Oct 2013 23:10:33 +0200 Subject: [PATCH] Start of a "make dist" target. The old one uses a script that was never published... --- Makefile.in | 14 +++++++++++--- configure.ac | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index cdc7c8f..a5694ce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -89,9 +89,17 @@ doc_clean: # Building a distribution. # -dist: - ./make_dist $(VERSION) - +DISTNAME = @PACKAGE_TARNAME@-@PACKAGE_VERSION@ + +dist: + $(MAKE) maintainerclean + rm -rf $(DISTNAME) + mkdir $(DISTNAME) + tar -cf - --exclude .git . | (cd $(DISTNAME) && tar -xf -) + cd $(DISTNAME) && ./autogen.sh && ./configure + cd $(DISTNAME)/doc && $(MAKE) info + cd $(DISTNAME) && make distclean + tar -zcf $(DISTNAME).tar.gz $(DISTNAME) # # Return to a pristine pre-configuration state. diff --git a/configure.ac b/configure.ac index 85d880b..05a53cb 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT([gnushogi],[1.3.2],[mvanier@cs.caltech.edu]) +AC_INIT([gnushogi],[1.4.0+],[https://savannah.gnu.org/bugs/?group=gnushogi]) AC_CONFIG_SRCDIR([version.h]) AC_CONFIG_HEADER(config.h) @@ -186,7 +186,7 @@ FIRST_SHOGI_PROGRAM=$withval) AC_ARG_WITH(second-shogi-program, [ --with-second-shogi-program=PROGNAME - Use PROGNAME as the second shogi program in xshogi(default: gnushogi)], + Use PROGNAME as the second shogi program in xshogi (default: gnushogi)], SECOND_SHOGI_PROGRAM=$withval) AC_ARG_WITH(first-host, -- 1.7.0.4