From 7539f3f0c8fb8121c4c73b389816a6b05268eb8f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 31 Aug 2005 20:55:19 +0000 Subject: [PATCH] Avoid unnecessary diffs in the generated lib/Makefile.am. --- ChangeLog | 7 +++++++ gnulib-tool | 10 +--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 815204630b..67a23c7bff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-08-30 Bruno Haible + + 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 * gnulib-tool (func_import): Read the previous cached settings diff --git a/gnulib-tool b/gnulib-tool index 1ede05c74c..b043a9618c 100755 --- 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 @@ func_modules_to_filelist () # - 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 @@ func_emit_lib_Makefile_am () 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 @@ func_emit_tests_Makefile_am () # - 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 @@ func_import () 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" -- 2.30.2