On Thu, Feb 14, 2008 at 10:31 AM, Michael Biebl <[EMAIL PROTECTED]> wrote:
> 2008/2/14, Dan Nicholson <[EMAIL PROTECTED]>:
>  > On Thu, Feb 14, 2008 at 9:41 AM, Michael Biebl <[EMAIL PROTECTED]> 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
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to