[PATCH] man/Makefile.local: allow out-of-tree 'make install'.
Tomi Ollila
tomi.ollila at iki.fi
Sat Aug 3 14:12:33 PDT 2013
On Sat, Aug 03 2013, Rory Yorke <rory.yorke at gmail.com> wrote:
> Change man-page source directory ('dir') to refer to srcdir.
> ---
> man/Makefile.local | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man/Makefile.local b/man/Makefile.local
> index 216aaa0..768f4cf 100644
> --- a/man/Makefile.local
> +++ b/man/Makefile.local
> @@ -1,6 +1,6 @@
> # -*- Makefile -*-
>
> -dir := man
> +dir := $(srcdir)/man
Interesting...
$ grep '^dir ' **/Makefile*
compat/Makefile.local:dir := compat
completion/Makefile.local:dir := completion
emacs/Makefile.local:dir := emacs
lib/Makefile.local:dir := lib
man/Makefile.local:dir := man
parse-time-string/Makefile.local:dir := parse-time-string
performance-test/Makefile.local:dir := performance-test
test/Makefile.local:dir := test
util/Makefile.local:dir := util
So why $(srcdir)/ prefix is needed only here...
Tomi
More information about the notmuch
mailing list