From 3955f8f9940f35a37faa01c08d17795adf8ceb43 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Fri, 14 Apr 2023 07:45:49 +0200 Subject: [PATCH] autotools: Rename "pregenerated" clean targets and make them .PHONY This follows the automake conventions, see: https://www.gnu.org/software/automake/manual/html_node/Clean.html --- Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 38236d81e1..f3f026d7be 100644 --- a/Makefile.am +++ b/Makefile.am @@ -218,10 +218,10 @@ precomp: $(PRECOMP) # e.g., after `make maintainer-clean`). BUILT_SOURCES = $(PRECOMP) -maintainer-clean-local: clean-precomp - -clean-precomp: +.PHONY: maintainer-clean-precomp +maintainer-clean-precomp: rm -f $(PRECOMP) +maintainer-clean-local: maintainer-clean-precomp ### Pregenerated test vectors ### (see the comments in the previous section for detailed rationale) @@ -234,10 +234,10 @@ testvectors: $(TESTVECTORS) BUILT_SOURCES += $(TESTVECTORS) -maintainer-clean-local: clean-testvectors - -clean-testvectors: +.PHONY: maintainer-clean-testvectors +maintainer-clean-testvectors: rm -f $(TESTVECTORS) +maintainer-clean-local: maintainer-clean-testvectors ### Additional files to distribute EXTRA_DIST = autogen.sh CHANGELOG.md SECURITY.md