]> git.notmuchmail.org Git - notmuch/commit
build-system: use a shell variable for TMPFILE in debian-snapshot
authorDavid Bremner <bremner@debian.org>
Sun, 18 Dec 2011 03:16:51 +0000 (23:16 -0400)
committerDavid Bremner <bremner@debian.org>
Sun, 18 Dec 2011 10:39:53 +0000 (06:39 -0400)
commit47b5797261f4d0f1dcf74e507452e120788964cf
tree5cde5112ca6cbb6ca024bf0da6b22fc3e3a6b338
parent451c57d19aeff5420839701460691e8e20d13049
build-system: use a shell variable for TMPFILE in debian-snapshot

Aaron Ecay points out in
id:"1324136185-4509-1-git-send-email-aaronecay@gmail.com" that the
mktemp in

     debian-snapshot: TMPFILE := $(shell mktemp)

Is being evaluated for every target. As best I can tell, this is
because make is evaluating the right hand side, even though it is not
doing the assignment.

Of course, it isn't quite as nice to edit with the line continuations,
but it is ideomatic make.
Makefile.local