Skip to content

Commit 3357d8c

Browse files
committed
docs: source,console -> source
1 parent e6b72db commit 3357d8c

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

docs/src/code/building-linuxcnc.adoc

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ GitHub makes this sharing very easy: After you polish your changes and push them
7474

7575
For the impatient, try this:
7676

77-
[source,console]
77+
[source]
7878
----
7979
$ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-source-dir
8080
$ cd linuxcnc-source-dir/src
@@ -90,14 +90,14 @@ Especially the section on <<Satisfying-Build-Dependencies,Satisfying Build Depen
9090
If you are running on a realtime-capable system (such as an install from the LinuxCNC Live/Install Image,
9191
see the <<sub:realtime,Realtime>> section below), one extra build step is needed at this time:
9292

93-
[source,console]
93+
[source]
9494
----
9595
$ sudo make setuid
9696
----
9797

9898
After you have successfully built LinuxCNC it is time to run the tests:
9999

100-
[source,console]
100+
[source]
101101
-----
102102
$ source ../scripts/rip-environment
103103
$ runtests
@@ -167,7 +167,7 @@ The `src/configure` script configures how the source code will be compiled.
167167
It takes many optional arguments.
168168
List all arguments to `src/configure` by running this:
169169

170-
[source,console]
170+
[source]
171171
----
172172
$ cd linuxcnc-source-dir/src
173173
$ ./configure --help
@@ -215,7 +215,7 @@ Building just a specific target::
215215
If you want to build just a specific part of LinuxCNC, you can name the thing you want to build on the `make` command line.
216216
For example, if you are working on a component named `froboz`, you can build its executable by running:
217217
+
218-
[source,console]
218+
[source]
219219
----
220220
$ cd linuxcnc-source-dir/src
221221
$ make ../bin/froboz
@@ -240,7 +240,7 @@ internet access.
240240

241241
For the impatient, try this:
242242

243-
[source,console]
243+
[source]
244244
----
245245
$ sudo apt-get install build-essential
246246
$ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-source-dir
@@ -260,7 +260,7 @@ that are detailed below:
260260

261261
Build tools have been gathered as a virtual package named `build-essential`. To install it, run:
262262

263-
[source,console]
263+
[source]
264264
----
265265
$ sudo apt-get install build-essential
266266
----
@@ -269,7 +269,7 @@ Once those prerequisites are met, building the Debian packages consists of two s
269269

270270
The first step is generating the Debian package scripts and meta-data from the git repo by running this:
271271

272-
[source,console]
272+
[source]
273273
----
274274
$ cd linuxcnc-dev
275275
$ ./debian/configure
@@ -287,7 +287,7 @@ to minimize latencies.
287287

288288
Once the Debian package scripts and meta-data are configured, build the package by running `dpkg-buildpackage`:
289289

290-
[source,console]
290+
[source]
291291
----
292292
$ dpkg-buildpackage -b -uc
293293
----
@@ -353,7 +353,7 @@ You can use this meta-data to easily list the required packages missing from you
353353
First, go to the source tree of LinuxCNC and initiate its default self-configuration,
354354
if not already performed:
355355

356-
[source,console]
356+
[source]
357357
-----
358358
$ cd linuxcnc-dev
359359
$ ./debian/configure
@@ -366,7 +366,7 @@ the build-dependencies for those to-be-created packages.
366366
The most straightforward way to get all build-dependencies installed is to just
367367
execute (from the same directory):
368368

369-
[source,console]
369+
[source]
370370
----
371371
sudo apt-get build-dep .
372372
----
@@ -386,7 +386,7 @@ what's missing.
386386

387387
First, install the `dpkg-checkbuilddeps` program by running:
388388

389-
[source,console]
389+
[source]
390390
----
391391
$ sudo apt-get install dpkg-dev
392392
----
@@ -406,7 +406,7 @@ If you are new to Linux and git version management, a clean start may be prefera
406406
The `dpkg-checkbuilddeps` (also from the dpkg-dev package that is installed as part of the build-essential dependencies) program
407407
can be asked to do its job (note that it needs to run from the `linuxcnc-source-dir` directory, *not* from `linuxcnc-source-dir/debian`):
408408

409-
[source,console]
409+
[source]
410410
----
411411
$ dpkg-checkbuilddeps
412412
----
@@ -444,7 +444,7 @@ Set it to
444444
You should not set this option to gain some extra confidence in your build to perform as expected unless you are running into mere technical difficulties with the test-specific software dependencies.
445445

446446
An environment variable can be set together with the execution of the command, e.g.
447-
[source,console]
447+
[source]
448448
----
449449
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -B
450450
----
@@ -457,7 +457,7 @@ The tool installing it, `dpkg` is part of every Debian installation.
457457
The .deb files created by `dpkg-buildpackage` are found in the directory above the linuxcnc-source-dir, i.e. in `..`.
458458
To see what files are provided in a package, run
459459

460-
[source,console]
460+
[source]
461461
----
462462
dpkg -c ../linuxcnc-uspace*.deb
463463
----
@@ -469,7 +469,7 @@ Quit with "q".
469469

470470
To install the packages, run
471471

472-
[source,console]
472+
[source]
473473
----
474474
sudo dpkg -i ../linuxcnc*.deb
475475
----
@@ -507,7 +507,7 @@ The file should contain the following line:
507507
Log out and log back in to make the changes take effect.
508508
Verify that the memory lock limit is raised using the following command:
509509

510-
[source,console]
510+
[source]
511511
-----
512512
$ ulimit -l
513513
-----
@@ -518,7 +518,7 @@ Building on Gentoo is possible, but not supported. Be sure you are
518518
running a desktop profile. This project uses the Tk Widget Set, asciidoc,
519519
and has some other dependencies. They should be installed as root:
520520

521-
[source,console]
521+
[source]
522522
-----
523523
~ # euse -E tk imagequant
524524
~ # emerge -uDNa world
@@ -531,7 +531,7 @@ You can switch back to being a normal user for most of the rest of the
531531
install. As that user, create a virtual environment for pip, then install
532532
the pip packages:
533533

534-
[source,console]
534+
[source]
535535
-----
536536
~/src $ python -m venv --system-site-packages ~/src/venv
537537
~/src $ . ~/src/venv/bin/activate
@@ -541,7 +541,7 @@ the pip packages:
541541

542542
Then you can contrinue as normally:
543543

544-
[source,console]
544+
[source]
545545
-----
546546
(venv) ~/src $ git clone https://github.com/LinuxCNC/linuxcnc.git
547547
(venv) ~/src $ cd linuxcnc
@@ -555,7 +555,7 @@ There is no need to run "make suid", just make sure your user is in
555555
the "dialout" group. To start linuxcnc, you must be in the Python
556556
Virtual Environment, and set up the linuxcnc environment:
557557

558-
[source,console]
558+
[source]
559559
-----
560560
~ $ . ~/src/venv/bin/activate
561561
(venv) ~ $ . ~/src/linuxcnc/scripts/rip-environment

0 commit comments

Comments
 (0)