Skip to content

Commit d2976a5

Browse files
committed
docs/building: direct towards the -B flag of dpkg-buildpackage
1 parent e946f1b commit d2976a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/code/building-linuxcnc.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ $ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-source-dir
5959
This is called a "clone" of the LinuxCNC repository.
6060
The advantage is that this local clone supports the communication about changes you may decide to perform on the source tree.
6161

62-
GitHub offers to perform a clone for you and have that instance made publicly available.
62+
GitHub is an infrastructure on its own and explained in depth elsewhere. Just to get you motivated if you do not know it already.offers to perform a clone for you and have that instance made publicly available.
6363
GitHub refers to such an additional instance of another repository as a "fork".
6464
You can easily (and at no cost) create a fork of the LinuxCNC git repository at GitHub, and use that to track and publish your changes.
6565
After creating your own GitHub fork of LinuxCNC, clone it to your development machine and proceed with your hacking as usual.
@@ -365,21 +365,21 @@ If you happen to run into difficulties while compiling, check the LinuxCNC forum
365365
Currently emerging is the support for the DEB_BUILD_OPTIONS environment variable.
366366
Set it to
367367

368-
`nodocs`:: to skip building the documentation. This is yet mostly untested, the `-b` flag to dpkg-buildpackage has the same effect, albeit formally a different semantics.
368+
`nodocs`:: to skip building the documentation, preferably instead use the `-B` flag to dpkg-buildpackage.
369369

370370
`nocheck`:: to skip self-tests of the LinuxCNC build process. This saves some time and reduces the demand for a few software packages that may not be available for your system, i.e. the xvfb in particular. You should not set this option for some extra confidence in your build to perform as expected unless running into difficulties with the dependencies.
371371

372372
An environment variable can be set together with the execution of the command, e.g.
373373
----
374-
DEB_BUILD_OPTIONS=nodocs,nocheck dpkg-buildpackage -uc -b
374+
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -B
375375
----
376376
would combine all the options introduced in this section.
377377

378378
==== Installing self-built Debian packages
379379

380380
A Debian package can be recognised by its .deb extension.
381381
The tool installing it, `dpkg` is part of every Debian installation.
382-
The .deb files created by `dpkg-buildpacakge` are found in the directoy above the linuxcnc-source-dir, i.e. in `..`.
382+
The .deb files created by `dpkg-buildpackage` are found in the directoy above the linuxcnc-source-dir, i.e. in `..`.
383383
To see what files are provided in a package, run
384384

385385
----

0 commit comments

Comments
 (0)