Start of a "make dist" target.
authorYann Dirson <ydirson@free.fr>
Tue, 8 Oct 2013 21:10:33 +0000 (23:10 +0200)
committerYann Dirson <ydirson@free.fr>
Tue, 8 Oct 2013 21:18:06 +0000 (23:18 +0200)
The old one uses a script that was never published...

Makefile.in
configure.ac

index cdc7c8f..a5694ce 100644 (file)
@@ -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.
index 85d880b..05a53cb 100644 (file)
@@ -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,