[Pm-utils] [PATCH 4/4] Clean up generated files and put *.in files in the tarball
Dan Nicholson
dbn.lists at gmail.com
Thu Feb 14 10:32:44 PST 2008
On Thu, Feb 14, 2008 at 10:31 AM, Michael Biebl <mbiebl at gmail.com> wrote:
> 2008/2/14, Dan Nicholson <dbn.lists at gmail.com>:
> > On Thu, Feb 14, 2008 at 9:41 AM, Michael Biebl <mbiebl at gmail.com> wrote:
>
> >
>
> > I meant separately:
> >
> >
> > bin_SCRIPTS = pm-is-supported
> >
> > dist_bin_SCRIPS = on_ac_power
> >
> > and drop on_ac_power from EXTRA_DIST. Not a big deal, but I'm not a
> > big fan of stuffing everything into EXTRA_DIST when automake has other
> > facilities to accomplish it.
>
> Would you prefer something like this:
>
>
>
> pm_bin_SCRIPTS = pm-action
>
>
> bin_SCRIPTS = pm-is-supported
>
> dist_bin_SCRIPTS = on_ac_power
>
> sbin_SCRIPTS = pm-powersave
>
> script_in_files = pm-action.in pm-is-supported.in pm-powersave.in
>
> CLEANFILES = $(script_in_files:.in=)
>
> EXTRA_DIST = $(script_in_files)
>
>
> The $(script_in_files:.in=) trick has the additional benefit, that
> EXTRA_DIST and CLEANFILES are always in sync.
Yes, nice!
--
Dan
More information about the Pm-utils
mailing list