commit-mailutils
[Top][All Lists]
Advanced

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

[SCM] GNU Mailutils branch, master, updated. release-2.2-655-g43d9797


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. release-2.2-655-g43d9797
Date: Sat, 25 May 2013 04:21:15 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=43d9797eef76ba39c987f227d8ac44983ce201e4

The branch, master has been updated
       via  43d9797eef76ba39c987f227d8ac44983ce201e4 (commit)
      from  ec100ee63e55ba60369363c72d6d2e1fbc3663a2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 43d9797eef76ba39c987f227d8ac44983ce201e4
Author: Sergey Poznyakoff <address@hidden>
Date:   Sat May 25 07:20:09 2013 +0300

    Minor fixes
    
    * mu/Makefile.am (mailutils-config): Fix sed expression
    * mu/mailutils-config.in: Replace MUNAME once and assign
    it to the variable.

-----------------------------------------------------------------------

Summary of changes:
 mu/Makefile.am         |    7 ++++---
 mu/mailutils-config.in |   17 +++++++++--------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/mu/Makefile.am b/mu/Makefile.am
index ae307ea..cb6de0b 100644
--- a/mu/Makefile.am
+++ b/mu/Makefile.am
@@ -20,9 +20,10 @@ bin_SCRIPTS = mailutils-config
 
 CLEANFILES=mailutils-config
 mailutils-config: $(top_srcdir)/mu/mailutils-config.in
-       $(AM_V_GEN)muname=`echo mu | \
-              sed -e 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
-              sed 'N;N;N;s,\n, ,g'`; \
+       $(AM_V_GEN)muname=mu; \
+             test -n "$(transform)" && \
+               muname=`echo $$muname | \
+                     sed -e 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
        sed 's/MUNAME/'$$muname'/g' $(top_srcdir)/mu/mailutils-config.in > 
mailutils-config
 
 
diff --git a/mu/mailutils-config.in b/mu/mailutils-config.in
index b7e3661..050d2d6 100644
--- a/mu/mailutils-config.in
+++ b/mu/mailutils-config.in
@@ -23,6 +23,7 @@
 mode=
 file=
 dir=`expr "$0" : '\(.*\)/.*'`
+muname=MUNAME
 
 test -n "$dir" && PATH=$PATH:$dir
 
@@ -34,13 +35,13 @@ alternatives instead:
 
        Traditional usage          |   Use instead
     ------------------------------+-------------------
-    mailutils-config --compile    | MUNAME cflags
-    mailutils-config --link       | MUNAME ldflags
-    mailutils-config --info       | MUNAME info
-    mailutils-config --query      | MUNAME query
-    mailutils-config --query=FILE | MUNAME query -f FILE
+    mailutils-config --compile    | $muname cflags
+    mailutils-config --link       | $muname ldflags
+    mailutils-config --info       | $muname info
+    mailutils-config --query      | $muname query
+    mailutils-config --query=FILE | $muname query -f FILE
 
-For more information, try \`MUNAME --help'.
+For more information, try \`$muname --help'.
 
 EOT
     exit 0
@@ -93,7 +94,7 @@ do
     usage
     ;;
   -V|--version|--versio|--versi|--vers|--ver|--ve|--v)
-    MUNAME --version | sed -n '1{s/^MUNAME/mailutils-config/;s/(\(GNU 
Mailutils\)) \([0-9][0-9.]*\).*/(\1 \2)/;p}'
+    $muname --version | sed -n '1{s/^MUNAME/mailutils-config/;s/(\(GNU 
Mailutils\)) \([0-9][0-9.]*\).*/(\1 \2)/;p}'
     exit 0
     ;;
   *)
@@ -111,4 +112,4 @@ if test -n "$file"; then
   set -- -f"$file" $*
 fi
 
-MUNAME $mode $*
+$muname $mode $*


hooks/post-receive
-- 
GNU Mailutils



reply via email to

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