]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
build: don't remove distributed stamp files on "make clean"
authorDaiki Ueno <ueno@gnu.org>
Wed, 17 Feb 2021 06:24:27 +0000 (07:24 +0100)
committerDaiki Ueno <ueno@gnu.org>
Wed, 17 Feb 2021 06:24:27 +0000 (07:24 +0100)
Those files are created by the maintainers and should remain after
"make clean" when the distribution tarball is used.

Reported by christian wagner in:
https://gitlab.com/gnutls/gnutls/-/issues/1088

Signed-off-by: Daiki Ueno <ueno@gnu.org>
doc/Makefile.am

index ea2af3197663e17f1f9190143e275747b9228e25..e7d2b8d895f2a2e80a0dd39db510e7d81fca32f3 100644 (file)
@@ -210,10 +210,7 @@ API_FILES=gnutls-api.texi socket-api.texi x509-api.texi pkcs12-api.texi \
        dtls-api.texi crypto-api.texi ocsp-api.texi tpm-api.texi dane-api.texi \
        pkcs7-api.texi
 
-clean-local:
-       -rm -f stamp_enums stamp_functions
-       -rm -rf functions/ enums/
-       -rm -f $(API_FILES)
+MAINTAINERCLEANFILES += stamp_enums stamp_functions functions enums
 
 gnutls_TEXINFOS += $(API_FILES)