public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/4] configure: Tidy up removal of generated artifacts
@ 2025-03-27 21:56 Ricardo B. Marliere via ltp
  2025-03-27 21:56 ` [LTP] [PATCH 1/4] configure: Add missing include/mk/config-openposix.mk reference Ricardo B. Marliere via ltp
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Ricardo B. Marliere via ltp @ 2025-03-27 21:56 UTC (permalink / raw)
  To: Linux Test Project; +Cc: Ricardo B. Marlière

Hello folks,

The goal of this series is to fix the top-level `make maintainer-clean` [1]
so that it removes everything the build system generated. The motivation is
that I was using `git clean -fdx` instead of -fdX and inevitably lost some
work, then I realized the cleaning targets were not actually cleaning
everything, e.g.:

(master)
$ make autotools
$ ./configure
$ make maintainer-clean
$ git clean -fdx
Removing aclocal.m4
Removing compile
Removing config.guess
Removing config.sub
Removing configure
Removing include/config.h.in
Removing include/lapi/syscalls.h
Removing include/mk/config-openposix.mk
Removing install-sh
Removing m4/Makefile.in
Removing missing
Removing testcases/open_posix_testsuite/autom4te.cache/
Removing testcases/open_posix_testsuite/configure

So, with this series applied then `git clean -fdx` won't have anything left
to remove.

Please consider pulling,
-	Ricardo.

[1]: https://www.gnu.org/prep/standards/html_node/Standard-Targets.html

Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
---
Ricardo B. Marlière (4):
      configure: Add missing include/mk/config-openposix.mk reference
      openposix: Makefile: Add the standard "maintainer-clean" target
      include/Makefile: Fix cleaning targets
      configure: Add missing files for removal in ac-maintainer-clean target

 configure.ac                            |  2 ++
 include/Makefile                        |  4 ++--
 include/mk/automake.mk                  | 11 ++++++-----
 testcases/open_posix_testsuite/Makefile | 10 +++++++++-
 4 files changed, 19 insertions(+), 8 deletions(-)
---
base-commit: e3aef569f0d0e7079bdb646965afaf419035eaa5
change-id: 20250327-fix_make_clean-8e57ffe1ce2c

Best regards,
-- 
Ricardo B. Marlière <rbm@suse.com>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-04-01 19:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 21:56 [LTP] [PATCH 0/4] configure: Tidy up removal of generated artifacts Ricardo B. Marliere via ltp
2025-03-27 21:56 ` [LTP] [PATCH 1/4] configure: Add missing include/mk/config-openposix.mk reference Ricardo B. Marliere via ltp
2025-03-28 10:31   ` Cyril Hrubis
2025-04-01  7:24     ` Petr Vorel
2025-03-27 21:56 ` [LTP] [PATCH 2/4] openposix: Makefile: Add the standard "maintainer-clean" target Ricardo B. Marliere via ltp
2025-04-01  7:38   ` Petr Vorel
2025-04-01 14:40     ` Ricardo B. Marli��re via ltp
2025-03-27 21:56 ` [LTP] [PATCH 3/4] include/Makefile: Fix cleaning targets Ricardo B. Marliere via ltp
2025-04-01  7:47   ` Petr Vorel
2025-04-01 14:43     ` Ricardo B. Marli��re via ltp
2025-04-01 19:35       ` Petr Vorel
2025-03-27 21:56 ` [LTP] [PATCH 4/4] configure: Add missing files for removal in ac-maintainer-clean target Ricardo B. Marliere via ltp
2025-04-01  7:58   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox