[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: allowing users to add source files without rerunning the autotools?
From: |
Miles Bader |
Subject: |
Re: allowing users to add source files without rerunning the autotools? |
Date: |
Fri, 20 Jan 2012 10:35:01 +0900 |
Nick Bowler <address@hidden> writes:
> Interestingly, if you actually stick a line exactly like the above into
> your Makefile.am, Automake will actually do "The Right Thing™" and
> creates the .Po stub as if you had actually specified the source file
> normally. Presumably you'd be relying on totally unsupported internal
> behaviour of Automake in this case, though. :)
Heh. :)
Another thing is that if the project is happy with discovering out the
"extra" source files at configure-time (as opposed to make-time like my
example did), things probably become even easier, as the configure file
can do more stuff.
One interesting thing would be to add some simple automake feature to
allow specifying this stuff explicitly via some interface
(e.g. AM_EXTRA_SOURCE_FILES([blah.c barf.h]) in configure, or something
like that). That might make it possible to really do this stuff
correctly without too much work for the developer, by letting him take
advantage of some of the lower-level automake machinery.
Thanks,
-Miles
--
"1971 pickup truck; will trade for guns"
- Re: allowing users to add source files without rerunning the autotools?, (continued)
- Re: allowing users to add source files without rerunning the autotools?, Bill Sacks, 2012/01/13
- Re: allowing users to add source files without rerunning the autotools?, Miles Bader, 2012/01/14
- Re: allowing users to add source files without rerunning the autotools?, Bill Sacks, 2012/01/18
- Re: allowing users to add source files without rerunning the autotools?, Stefano Lattarini, 2012/01/18
- Re: allowing users to add source files without rerunning the autotools?, Bill Sacks, 2012/01/18
- Re: allowing users to add source files without rerunning the autotools?, Stefano Lattarini, 2012/01/18
- Re: allowing users to add source files without rerunning the autotools?, Miles Bader, 2012/01/18
- Re: allowing users to add source files without rerunning the autotools?, Stefano Lattarini, 2012/01/19
- Re: allowing users to add source files without rerunning the autotools?, Miles Bader, 2012/01/19
- Re: allowing users to add source files without rerunning the autotools?, Nick Bowler, 2012/01/19
- Re: allowing users to add source files without rerunning the autotools?,
Miles Bader <=
- Re: allowing users to add source files without rerunning the autotools?, Bob Friesenhahn, 2012/01/19
- Re: allowing users to add source files without rerunning the autotools?, Miles Bader, 2012/01/19
- Re: allowing users to add source files without rerunning the autotools?, Bill Sacks, 2012/01/19
- Re: allowing users to add source files without rerunning the autotools?, Bob Friesenhahn, 2012/01/19
- Re: allowing users to add source files without rerunning the autotools?, Stefano Lattarini, 2012/01/20
- Re: allowing users to add source files without rerunning the autotools?, Paul Smith, 2012/01/20
- Re: allowing users to add source files without rerunning the autotools?, Stefano Lattarini, 2012/01/21
- Re: allowing users to add source files without rerunning the autotools?, Nick Bowler, 2012/01/20
- Re: allowing users to add source files without rerunning the autotools?, Stefano Lattarini, 2012/01/20
- Re: allowing users to add source files without rerunning the autotools?, Nick Bowler, 2012/01/20