configmake: correct minor inconsistency in Makefile rule
authorJim Meyering <meyering@redhat.com>
Mon, 16 Apr 2012 16:22:40 +0000 (18:22 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 16 Apr 2012 16:22:40 +0000 (18:22 +0200)
* 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.

ChangeLog
modules/configmake

index ebc9b45..8817dab 100644 (file)
--- 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.
index 46c0fcc..845e0f4 100644 (file)
@@ -44,7 +44,7 @@ configmake.h: Makefile
          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