bug-automake
[Top][All Lists]
Advanced

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

bug#31222: automake 1.16.1 am__pep3147_tweak bug


From: Mathieu Lirzin
Subject: bug#31222: automake 1.16.1 am__pep3147_tweak bug
Date: Sat, 21 Apr 2018 23:08:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello Mark,

Mark Thomas <address@hidden> writes:

> The change to the "am__pep3147_tweak" variable included in
> <http://git.savannah.gnu.org/cgit/automake.git/commit/?id=006c4dfede96091f5bed622c17946cbec067347f>
> causes the generated Makefile files not to work on systems (such as
> macOS) where "sed" interprets "\n" in the substitution text as the
> letter "n" instead of as a newline.

Interesting. :-)

It seems that using a space instead of a newline work as well.

1 file changed, 1 insertion(+), 1 deletion(-)
lib/am/python.am | 2 +-

modified   lib/am/python.am
@@ -97,7 +97,7 @@ endif %?INSTALL%
 if %?INSTALL%
 
 ?FIRST?am__pep3147_tweak = \
-?FIRST?  sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc\n&.*.pyo|'
+?FIRST?  sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc &.*.pyo|'
 
 .PHONY uninstall-am: uninstall-%DIR%PYTHON
 uninstall-%DIR%PYTHON:

Can you confirm it works on your system?

Thanks for the report.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

reply via email to

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