Skip to content

Commit 3955f8f

Browse files
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
1 parent 6114fd7 commit 3955f8f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile.am

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ precomp: $(PRECOMP)
218218
# e.g., after `make maintainer-clean`).
219219
BUILT_SOURCES = $(PRECOMP)
220220

221-
maintainer-clean-local: clean-precomp
222-
223-
clean-precomp:
221+
.PHONY: maintainer-clean-precomp
222+
maintainer-clean-precomp:
224223
rm -f $(PRECOMP)
224+
maintainer-clean-local: maintainer-clean-precomp
225225

226226
### Pregenerated test vectors
227227
### (see the comments in the previous section for detailed rationale)
@@ -234,10 +234,10 @@ testvectors: $(TESTVECTORS)
234234

235235
BUILT_SOURCES += $(TESTVECTORS)
236236

237-
maintainer-clean-local: clean-testvectors
238-
239-
clean-testvectors:
237+
.PHONY: maintainer-clean-testvectors
238+
maintainer-clean-testvectors:
240239
rm -f $(TESTVECTORS)
240+
maintainer-clean-local: maintainer-clean-testvectors
241241

242242
### Additional files to distribute
243243
EXTRA_DIST = autogen.sh CHANGELOG.md SECURITY.md

0 commit comments

Comments
 (0)