]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools/libtool: add maintainer-clean to clean target
authorMichael Pratt <mcpratt@pm.me>
Mon, 23 Sep 2024 03:38:21 +0000 (23:38 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
commitc7554019ddf0d597cb4921788b04b843ab05e2a4
tree8c4dfe319a08d6a34f2a02a3cad5e0946a280a2b
parent9ea963e471d642c94159ab484f84b88ee3844201
tools/libtool: add maintainer-clean to clean target

Use the clean recipe during build, so that files already
generated by the bootstrapping within the release are removed
before the bootstrap script is run again.

Override an automake variable "am__CONFIG_DISTCLEAN_FILES"
and related variables for their dependencies
in order to prevent removing config.status and other configure files
so that configure stage does not need to be ran twice.

Automake with modified rules must be ran
in order to generate a Makefile that does not delete itself.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/libtool/Makefile