[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Patch: backup prefix assumption corrections
From: |
Jerrad Pierce |
Subject: |
Re: [Nmh-workers] Patch: backup prefix assumption corrections |
Date: |
Thu, 17 Apr 2014 23:39:08 -0400 |
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 = .\#
backup-prefix.patch2
Description: backup-prefix.patch2