buildroot/docs/manual/manual.mk
Fiona Klute (WIWA) 02d8e072d1 docs/manual: include S01syslogd from source
The manual describes package/busybox/S01syslogd as the reference of
how an init script should be written. Include it from source instead
of having a copy in the manual to ensure actual code and manual stay
in sync.

Also use long options in the paragraph after the script to follow the
same style.

Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-14 19:31:55 +02:00

16 lines
483 B
Makefile

################################################################################
#
# The Buildroot manual
#
################################################################################
MANUAL_SOURCES = $(sort $(wildcard docs/manual/*.adoc) $(wildcard docs/images/*))
MANUAL_RESOURCES = $(TOPDIR)/docs/images
define MANUAL_INIT_SCRIPT_REF
cp package/busybox/S01syslogd $(@D)/S01syslogd
endef
MANUAL_POST_RSYNC_HOOKS += MANUAL_INIT_SCRIPT_REF
$(eval $(call asciidoc-document))