AUDIT: r21570 - gnucash/trunk - Fix clean targets and DIST_SOURCES

Derek Atkins derek at ihtfp.com
Tue Nov 22 15:22:28 EST 2011


On Tue, November 22, 2011 3:15 pm, John Ralls wrote:
>
[snip]
>> I find that odd, unless it wound up being listed twice after all the
>> variable substitution was done?  E.g., if you did:
>>
>> DIST_SUBDIRS = $(SUBDIRS) python
>>
>> This would be wrong.
>
> Yet that's exactly what they all did:
>
> For example,
>
> SUBDIRS = \
> 	stuff \
> 	$(PYTHON_DIR) \
>         more_stuff
>
> DIST_SUBDIRS = $(SUBDIRS) python

Ah, yes, that would be wrong.  The RIGHT solution is:

SUBDIRS = stuff $(PYTHON_DIR) more_stuff
DIST_SUBDIRS = stuff python more_stuff

Although that depends on the contents of "stuff" and "more_stuff", and is
arguably "Right".  :)

-derek

-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-devel mailing list