nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Patch: backup prefix assumption corrections

2014-04-17 22:39:28
I made those changes, but then ran into a problem. If you set
--with-backup-prefix to soemthing in a pound sign e.g; .# or #
...things blow up Makefile.am does not seem to have any facility
for escaping interpolated values, and apparently pounds signs
aren't portable in Makefile variable values anyhow.

  http://lists.gnu.org/archive/html/automake/2011-08/msg00023.html

Consequently tests will fail for these particular settings like so:

make  check-TESTS
make[2]: Entering directory `/home/belg4mit/nmh'
/bin/sh: -c: line 9: unexpected EOF while looking for matching `''
/bin/sh: -c: line 91: syntax error: unexpected end of file
make[2]: *** [check-TESTS] Error 2

Although if one can manage to escape the value as in the Makefile
as shown below, the tests will pass:

BACKUP_PREFIX = .\#

Attachment: backup-prefix.patch2
Description: backup-prefix.patch2

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>