From: Alexander Sosedkin Date: Wed, 18 Feb 2026 18:58:42 +0000 (+0100) Subject: doc/Makefile: add stamp_error_codes to EXTRA_DIST X-Git-Tag: 3.8.13~3^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c19ac5cb9da9eb1940a625a619b03e408376324;p=thirdparty%2Fgnutls.git doc/Makefile: add stamp_error_codes to EXTRA_DIST This also moves stamp_* to MAINTAINERCLEANFILES from DISTCLEANFILES, which should not include what's in the tarball. Fixes: #1797 Signed-off-by: Alexander Sosedkin Modified-by: Daiki Ueno --- diff --git a/.gitignore b/.gitignore index 774bf76068..481088bf7f 100644 --- a/.gitignore +++ b/.gitignore @@ -177,6 +177,7 @@ doc/scripts/Makefile doc/scripts/Makefile.in doc/socket-api.texi doc/stamp_enums +doc/stamp_error_codes doc/stamp_functions doc/stamp_invoke doc/stamp-vti diff --git a/doc/Makefile.am b/doc/Makefile.am index 3edcb2d191..b7fbe6d883 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -20,7 +20,7 @@ EXTRA_DIST = TODO certtool.cfg gnutls.html \ doxygen/Doxyfile.in doxygen/Doxyfile.orig texinfo.css \ - stamp_enums stamp_functions \ + stamp_enums stamp_functions stamp_error_codes \ doc.mk IMAGES = \ @@ -236,6 +236,7 @@ AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) \ --no-split --css-include=$(srcdir)/texinfo.css MAINTAINERCLEANFILES = +DISTCLEANFILES = # Generated texinfos. @@ -244,7 +245,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 hpke-api.texi -MAINTAINERCLEANFILES += stamp_enums stamp_functions functions enums +MAINTAINERCLEANFILES += stamp_enums stamp_functions stamp_error_codes gnutls_TEXINFOS += $(API_FILES) @@ -416,13 +417,14 @@ if !WINDOWS gnutls_TEXINFOS += error_codes.texi algorithms.texi alerts.texi enums.texi endif -DISTCLEANFILES = error_codes.texi algorithms.texi alerts.texi enums.texi +MAINTAINERCLEANFILES += error_codes.texi algorithms.texi alerts.texi enums.texi AM_CPPFLAGS = \ -I$(top_builddir)/lib/includes -I$(top_srcdir)/lib/includes \ -I$(top_builddir)/ EXTRA_PROGRAMS = errcodes printlist alert-printlist +DISTCLEANFILES += $(EXTRA_PROGRAMS) errcodes_SOURCES = errcodes.c common.c common.h errcodes_LDADD = ../lib/libgnutls.la ../gl/libgnu.la @@ -468,8 +470,7 @@ enums.texi: $(HEADER_FILES) mv -f $@-tmp $@ gnutls_TEXINFOS += $(ENUMS) $(FUNCS) $(AUTOGENED_DOC) -DISTCLEANFILES += $(ENUMS) stamp_enums stamp_error_codes stamp_functions \ - errcodes printlist alert-printlist +MAINTAINERCLEANFILES += $(ENUMS) $(FUNCS) $(AUTOGENED_DOC) stamp_functions: $(API_FILES)