docs.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dev-manual: add line continuations for aesthetics
@ 2021-08-30  9:00 Robert P. J. Day
  2021-08-30  9:17 ` [docs] " Quentin Schulz
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2021-08-30  9:00 UTC (permalink / raw)
  To: YP docs mailing list


Not a fan of lengthy lines that require horizontal scrolling,
so add line continuations.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index 4a5011ea7..6f0ee27c7 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -2331,17 +2331,39 @@ In the following example, ``mtd-utils`` is a makefile-based package::

    S = "${WORKDIR}/git"

-   EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
+   EXTRA_OEMAKE = " \
+       'CC=${CC}' \
+       'RANLIB=${RANLIB}' \
+       'AR=${AR}' \
+       'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' \
+       'BUILDDIR=${S}' \
+       "

    do_install () {
-       oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
+       oe_runmake install \
+           DESTDIR=${D} \
+           SBINDIR=${sbindir} \
+           MANDIR=${mandir} \
+           INCLUDEDIR=${includedir}
    }

    PACKAGES =+ "mtd-utils-jffs2 mtd-utils-ubifs mtd-utils-misc"

-   FILES:mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool"
+   FILES:mtd-utils-jffs2 = " \
+       ${sbindir}/mkfs.jffs2 \
+       ${sbindir}/jffs2dump \
+       ${sbindir}/jffs2reader \
+       ${sbindir}/sumtool \
+       "
    FILES:mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*"
-   FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image"
+   FILES:mtd-utils-misc = " \
+       ${sbindir}/nftl* \
+       ${sbindir}/ftl* \
+       ${sbindir}/rfd* \
+       ${sbindir}/doc* \
+       ${sbindir}/serve_image \
+       ${sbindir}/recv_image \
+       "

    PARALLEL_MAKE = ""


-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-02 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30  9:00 [PATCH] dev-manual: add line continuations for aesthetics Robert P. J. Day
2021-08-30  9:17 ` [docs] " Quentin Schulz
2021-08-30  9:26   ` Robert P. J. Day
2021-09-02 17:50     ` Michael Opdenacker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).