changeset 6182:6ac925998337

Avoid unnecessary diffs in the generated lib/Makefile.am.
author Bruno Haible <bruno@clisp.org>
date Wed, 31 Aug 2005 20:55:19 +0000
parents 95b89dc3f638
children d12635ef6eb5
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-08-30  Bruno Haible  <bruno@clisp.org>
+
+	Avoid unnecessary diffs in the generated lib/Makefile.am.
+	* gnulib-tool (func_emit_lib_Makefile_am): Don't write the cmd into
+	the generated files.
+	(func_import): Don't set cmd.
+
 2005-08-30  Bruno Haible  <bruno@clisp.org>
 
 	* gnulib-tool (func_import): Read the previous cached settings
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2005-08-31 20:54:49 $'
+cvsdatestamp='$Date: 2005-08-31 20:55:19 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -603,7 +603,6 @@
 # - modules         list of modules, including dependencies
 # - libname         library name
 # - libtool         true if libtool will be used, blank otherwise
-# - cmd             (optional) command that led to this invocation
 # - actioncmd       (optional) command that will reproduce this invocation
 func_emit_lib_Makefile_am ()
 {
@@ -624,9 +623,6 @@
   echo "# the same distribution terms as the rest of that program."
   echo "#"
   echo "# Generated by gnulib-tool."
-  if test -n "$cmd"; then
-    echo "# Invoked as: $cmd"
-  fi
   if test -n "$actioncmd"; then
     echo "# Reproduce by: $actioncmd"
   fi
@@ -753,7 +749,6 @@
 # - macro_prefix    prefix of gl_EARLY, gl_INIT macros to use
 # - dry_run         true if actions shall only be printed, blank otherwise
 # - symbolic        true if files should be symlinked, copied otherwise
-# - supplied_opts   all options passed to gnulib-tool
 func_import ()
 {
   # Get the cached settings.
@@ -988,9 +983,6 @@
     fi
   done
 
-  # Command-line invocation printed in various files.
-  cmd="gnulib-tool $supplied_opts"
-
   # Command-line invocation printed in a comment in generated gnulib-cache.m4.
   actioncmd="gnulib-tool --import"
   actioncmd="$actioncmd --dir=$destdir"