Skip to content

Commit 8764034

Browse files
autotools: Make all "pregenerated" targets .PHONY
This follows the automake conventions more, see: https://www.gnu.org/software/automake/manual/html_node/Clean.html
1 parent e1b9ce8 commit 8764034

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Makefile.am

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.PHONY: clean-precomp precomp
2-
31
ACLOCAL_AMFLAGS = -I build-aux/m4
42

53
# AM_CFLAGS will be automatically prepended to CFLAGS by Automake when compiling some foo
@@ -218,10 +216,10 @@ precomp: $(PRECOMP)
218216
# e.g., after `make maintainer-clean`).
219217
BUILT_SOURCES = $(PRECOMP)
220218

221-
maintainer-clean-local: clean-precomp
222-
219+
.PHONY: clean-precomp
223220
clean-precomp:
224221
rm -f $(PRECOMP)
222+
maintainer-clean-local: clean-precomp
225223

226224
### Pregenerated test vectors
227225
### (see the comments in the previous section for detailed rationale)
@@ -234,10 +232,10 @@ testvectors: $(TESTVECTORS)
234232

235233
BUILT_SOURCES += $(TESTVECTORS)
236234

237-
maintainer-clean-local: clean-testvectors
238-
235+
.PHONY: clean-testvectors
239236
clean-testvectors:
240237
rm -f $(TESTVECTORS)
238+
maintainer-clean-local: clean-testvectors
241239

242240
### Additional files to distribute
243241
EXTRA_DIST = autogen.sh CHANGELOG.md SECURITY.md

0 commit comments

Comments
 (0)