mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
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>
16 lines
483 B
Makefile
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))
|