]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Consolidate and add files to clean target variables users/amerey/try-clean
authorMichael Pratt <mcpratt@pm.me>
Wed, 23 Oct 2024 06:33:18 +0000 (06:33 +0000)
committerAaron Merey <amerey@redhat.com>
Fri, 8 Nov 2024 19:44:44 +0000 (14:44 -0500)
commitb2f225d6bff8201874bdc6fdcb8dff1bcf1b814f
treec9ddfbe4f66969845eaa8573b82d1b5838cf5d01
parent8707194a9f2f0b13e53041b03ebfdbdbd2942e43
Consolidate and add files to clean target variables

To increase the consistency of how automatic clean targets run,
define the variables together without +=, default to MOSTLYCLEANFILES
when there is no need for different levels or
add more clean levels to match other subdirectories,
add more files that are built, remove duplication, and cleanup.

Do the same for EXTRA_DIST where it is equally messy.

    * backends/Makefile.am: add more objects to clean, improve spacing.
    * debuginfod/Makefile.am: Likewise, and remove duplicates.
    * lib/Makefile.am: improve spacing.
    * libasm/Makefile.am: add more objects to clean, split similar to debuginfod.
    * libcpu/Makefile.am: use normal =, add more objects to clean.
    * libdw/Makefile.am: add more objects to clean, split similar to debuginfod.
    * libdwelf/Makefile.am: add more objects to clean, use lowest clean level.
    * libdwfl/Makefile.am: Likewise.
    * libebl/Makefile.am: add more objects to clean.
    * libelf/Makefile.am: add more objects to clean, split similar to debuginfod.
    * src/Makefile.am: consolidate including EXTRA_DIST, split clean levels,
      define with normal =, define with variables.
    * tests/Makefile.am: Likewise, but not including EXTRA_DIST.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
12 files changed:
backends/Makefile.am
debuginfod/Makefile.am
lib/Makefile.am
libasm/Makefile.am
libcpu/Makefile.am
libdw/Makefile.am
libdwelf/Makefile.am
libdwfl/Makefile.am
libebl/Makefile.am
libelf/Makefile.am
src/Makefile.am
tests/Makefile.am