Skip to content

Commit

Permalink
autotools: Rename "pregenerated" clean targets and make them .PHONY
Browse files Browse the repository at this point in the history
This follows the automake conventions, see:
https://www.gnu.org/software/automake/manual/html_node/Clean.html
  • Loading branch information
real-or-random committed Apr 14, 2023
1 parent 6114fd7 commit 3955f8f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 3955f8f

Please sign in to comment.