mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 09:57:41 +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:
parent
5e7ba78999
commit
d56adac4e3
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user