automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] {maint} cosmetics: cater for vim syntax highlight in distdir.am


From: Stefano Lattarini
Subject: [PATCH] {maint} cosmetics: cater for vim syntax highlight in distdir.am
Date: Sun, 16 Jan 2011 16:55:43 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

Hello automakers.

I'm not sure if it is acceptable to submit a patch aimed at working
around limits and warts of an editor's syntax highlighting, but I
guess I'll find out very soon :-)

So, OK for maint, or only for /dev/null?

Thanks,
  Stefano

-*-*-

cosmetics: cater for vim syntax highlight in distdir.am

* lib/am/distdir.am (distdir): Avoid using single quotes in
automake comments embedded in a shell command substitution,
as that might confuse vim (7.2) syntax highlighting.
---
 ChangeLog         |    7 +++++++
 lib/am/distdir.am |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 675f185..16a776d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-16  Stefano Lattarini  <address@hidden>
+
+       cosmetics: cater for vim syntax highlight in distdir.am
+       * lib/am/distdir.am (distdir): Avoid using single quotes in
+       automake comments embedded in a shell command substitution,
+       as that might confuse vim (7.2) syntax highlighting.
+
 2011-01-16  Ralf Wildenhues  <address@hidden>
 
        Fix parallel-tests.test failure with HP-UX make.
diff --git a/lib/am/distdir.am b/lib/am/distdir.am
index e0f3bce..35a76c3 100644
--- a/lib/am/distdir.am
+++ b/lib/am/distdir.am
@@ -95,7 +95,7 @@ if %?HAVE-MANS%
 ## Note that we check existing man pages here only.  If there are man pages
 ## which are not distributed, and may be generated only conditionally, then
 ## we should not error out because of them.  This could be refined to take
-## into account only dist_*_MANS, but then we'd be missing out on those
+## into account only dist_*_MANS, but then we would be missing out on those
 ## the user distributes with EXTRA_DIST.
            if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
          if test -n "$$list" && \
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]