[Pm-utils] [PATCH 4/4] Clean up generated files and put *.in files in the tarball
Michael Biebl
mbiebl at gmail.com
Thu Feb 14 10:31:07 PST 2008
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.
Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
More information about the Pm-utils
mailing list