From: Yann Dirson Date: Tue, 8 Oct 2013 21:10:33 +0000 (+0200) Subject: Start of a "make dist" target. X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=commitdiff_plain;h=7540aa4c58ce36f9c6588f9bb41d1a25d745889d Start of a "make dist" target. The old one uses a script that was never published... --- 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,