2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 01:49:48 +00:00

[#1945] fix building docs from tarball

- Move tools/* EXTRA_DISTs inside tools/Makefile.am because that's where
  they belong.
- Add check-messages.py to EXTRA_DIST in tools/Makefile.am to allow
  someone who downloads the tarball to regenerate the entire message
  documentation just like before.
- Add debug-messages.rst and kea-messages.rst to the tarball so that
  they are not forced to use check-messages.py to regenerate message
  documentation.
- Add singlehtml to all rule. It is the only type of docs that are not
  built by default.
This commit is contained in:
Andrei Pavel 2024-08-22 18:16:45 +03:00
parent 5e7ba78999
commit d56adac4e3
No known key found for this signature in database
GPG Key ID: D4E804481939CB21
3 changed files with 14 additions and 6 deletions

View File

@ -180,11 +180,8 @@ install-exec-hook:
mkdir -p $(DESTDIR)${localstatedir}/lib/${PACKAGE_NAME}
mkdir -p $(DESTDIR)${runstatedir}/${PACKAGE_NAME}
EXTRA_DIST = tools/path_replacer.sh
EXTRA_DIST += tools/mk_cfgrpt.sh
#### include external sources in the distributed tarball:
EXTRA_DIST += ext/coroutine/coroutine.hpp
EXTRA_DIST = ext/coroutine/coroutine.hpp
CLEANFILES = $(abs_top_builddir)/logger_lockfile

View File

@ -22,6 +22,9 @@ rst_arm_sources =
rst_arm_sources += index.rst
rst_arm_sources += manpages.rst
rst_arm_sources += umls.rst
rst_arm_sources += debug-messages.rst
rst_arm_sources += kea-messages.rst
include arm/rst_arm_sources.mk
EXTRA_DIST += arm/rst_arm_sources.mk
@ -61,9 +64,9 @@ api_files =
include $(top_srcdir)/src/share/api/api_files.mk
if HAVE_PDFLATEX
all: debug-messages.rst kea-messages.rst html mans pdf text
all: debug-messages.rst kea-messages.rst html mans pdf singlehtml text
else
all: debug-messages.rst kea-messages.rst html mans text
all: debug-messages.rst kea-messages.rst html mans singlehtml text
endif
# build the list of message files
@ -85,6 +88,9 @@ $(srcdir)/kea-messages.rst: mes2doc.py
api-files.txt: $(top_srcdir)/src/share/api/api_files.mk
@sed 's;api_files .*)/;;' $< > $@
EXTRA_DIST += debug-messages.rst
EXTRA_DIST += kea-messages.rst
# some tools do not use this makefile but still need generate files.
EXTRA_DIST += mes-files.txt api-files.txt

View File

@ -6,5 +6,10 @@ if USE_STATIC_LINK
AM_LDFLAGS = -static
endif
EXTRA_DIST =
EXTRA_DIST += check-messages.py
EXTRA_DIST += mk_cfgrpt.sh
EXTRA_DIST += path_replacer.sh
CLEANFILES = *.gcno *.gcda
DISTCLEANFILES = path_replacer.sh