mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-03 02:13:29 +08:00
02d8e072d1
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))
|