tools/automake: do not delete Makefile in clean targets
authorMichael Pratt <[email protected]>
Fri, 4 Oct 2024 05:25:13 +0000 (01:25 -0400)
committerRobert Marko <[email protected]>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
commit9ea963e471d642c94159ab484f84b88ee3844201
tree099141cdc1571ea965e3f399974a7f2c65a73f6f
parent222a1bed794c83298ae6e7dfddbe0eed7dcab0fc
tools/automake: do not delete Makefile in clean targets

For the building of some packages, it is sometimes helpful
to completely clean the packaged release copy of the source,
however this usually both requires and deletes the Makefile,
causing the need to run the configure stage twice.

Not deleting the Makefile allows compilation to continue directly
after cleaning pre-generated files in the package distribution.

Signed-off-by: Michael Pratt <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <[email protected]>
tools/automake/patches/999-clean-am.patch [new file with mode: 0644]