Re: mutt/2355: Mutt can't be built with a separate build dir and read-only source dir
The following reply was made to PR mutt/2355; it has been noted by GNATS.
From: Brendan Cully <brendan@xxxxxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc:
Subject: Re: mutt/2355: Mutt can't be built with a separate build dir and
read-only source dir
Date: Mon, 17 Jul 2006 11:38:31 -0700
Thanks for working on this. But perhaps you could attach your patches
via the web interface and/or make them reachable by URL? gnats is
absolutely perverse about handling mail attachments.
...
+++ po/Makefile.in.in 17 Jul 2006 18:33:04 -0000
@@ -12,6 +12,7 @@ VERSION = @VERSION@
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
+builddir = $(top_builddir)/$(subdir)
SHELL = /bin/sh
@SET_MAKE@
@@ -68,7 +69,7 @@ CATALOGS = @CATALOGS@
$(MSGFMT) -o $@ $<
.po.gmo:
- file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
+ file=$(builddir)/`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) --statistics -o $$file $<
This part looks odd. Why do you need $(builddir)? Isn't that always
going to amount to . ?