[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] Re: Hydra news
From: |
Simon Josefsson |
Subject: |
[bug-inetutils] Re: Hydra news |
Date: |
Sun, 10 Jan 2010 10:20:48 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
"Alfred M. Szmidt" <address@hidden> writes:
> > Shouldn't the correct fix be that `make dist' depends on `make
> > all' in automake?
>
> Yes, but is there an elegant way to make that work?
>
> Wouldn't a patch like the following to automake do the job?
I don't think it is a general problem that warrants a change in
automake, but you could ask the automake people. Alternatively, maybe
they could add a hook that is run before the 'dist' rule -- or is there
one already?
/Simon
> diff --git a/lib/am/distdir.am b/lib/am/distdir.am
> index 4e356b9..36462a9 100644
> --- a/lib/am/distdir.am
> +++ b/lib/am/distdir.am
> @@ -405,7 +405,7 @@ if %?SUBDIRS%
> AM_RECURSIVE_TARGETS += dist dist-all
> endif %?SUBDIRS%
>
> -dist dist-all:
> +dist dist-all: all
> $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
> $(am__post_remove_distdir)
>