[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: makefile improvements
From: |
John Darrington |
Subject: |
Re: makefile improvements |
Date: |
Mon, 12 Oct 2009 16:36:09 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Oct 12, 2009 at 08:56:08AM -0700, Ben Pfaff wrote:
> $(POFILES): $(POTFILE)
> $(MSGMERGE) $(top_srcdir)/$@ $(top_srcdir)/$(POTFILE) -o $@
>
> $(POTFILE) is a generated file, so it will be in $(top_builddir) not
> $(top_srcdir).
I hadn't realize that.
When we make a distribution with "make dist", $(POTFILE) will be
distributed and thus it will be in the source directory. Does
this mean that we have to cope with both possible locations?
Is that something we can change? Do we really need pspp.pot to be in
the tarball? If not, then I guess we will indeed have to cope with
both locations. And that is of course why the VPATH feature and the
$< variable was invented.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature