changeset 16787:b9407e31b80b

configmake: correct minor inconsistency in Makefile rule * modules/configmake (Makefile.am): All other rules like this one run the final "mv -f ..." in the same backslash-continued command as the one that does everything else. This one put the mv -f ... command on a separate, non-backslash-continued line. Make it like the others.
author Jim Meyering <meyering@redhat.com>
date Mon, 16 Apr 2012 18:22:40 +0200
parents e13631162c47
children 061517fb0b8b
files ChangeLog modules/configmake
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-04-16  Jim Meyering  <meyering@redhat.com>
 
+	configmake: correct minor inconsistency in Makefile rule
+	* modules/configmake (Makefile.am): All other rules like this one
+	run the final "mv -f ..." in the same backslash-continued command
+	as the one that does everything else.  This one put the mv -f ...
+	command on a separate, non-backslash-continued line.
+	Make it like the others.
+
 	bootstrap: use gnulib's po/Makefile.in.in, not the one from gettext
 	* build-aux/bootstrap: Use gnulib's po/Makefile.in.in, not
 	the one from gettext.  Reported by Akim Demaille.
--- a/modules/configmake
+++ b/modules/configmake
@@ -44,7 +44,7 @@
 	  echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
 	  echo '#define PKGLIBDIR "$(pkglibdir)"'; \
 	  echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
-	} | sed '/""/d' > $@-t
+	} | sed '/""/d' > $@-t && \
 	mv -f $@-t $@
 
 BUILT_SOURCES += configmake.h