summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2021-02-17 07:24:27 +0100
committerDaiki Ueno <ueno@gnu.org>2021-02-17 07:24:27 +0100
commitdc92c9ae0d9a389184db30ca7ea1d0e2d0bffb29 (patch)
tree18f961a915e437c01e23b088840a5ee923182240 /doc/Makefile.am
parentcf55180b260912454be6d9926b1028b74b4695fa (diff)
downloadgnutls-dc92c9ae0d9a389184db30ca7ea1d0e2d0bffb29.tar.gz
build: don't remove distributed stamp files on "make clean"
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>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index ea2af31976..e7d2b8d895 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -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)