Skip to content

Commit 7dc090d

Browse files
committed
docs: rodw-au on building Debian packages
1 parent 920e5e6 commit 7dc090d

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

docs/src/code/building-linuxcnc.adoc

+14-7
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ For the impatient, try this:
7777
----
7878
$ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-source-dir
7979
$ cd linuxcnc-source-dir/src
80-
$ ./debian/configure
81-
$ sudo apt-get build-dep .
82-
$ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -B
80+
$ ./autogen.sh
81+
$ ./configure --with-realtime=uspace
82+
$ make
8383
----
8484

8585
That will probably fail! That doesn't make you a bad person,
@@ -240,10 +240,17 @@ delivery to end users, and when building the software for a machine
240240
that does not have the build environment installed, or that does not have
241241
internet access.
242242

243-
To build packages is primarily useful when packaging the software for delivery to end users.
244-
Developers among themselves exchange only the source code, likely supported by the LinuxCNC GitHub repository referenced below.
245-
Also, when building the software for a machine that doesn't have the build environment installed,
246-
or that doesn't have internet access, one happily accepts a prebuilt package.
243+
For the impatient, try this:
244+
245+
[source,console]
246+
----
247+
$ sudo apt-get install build-essential
248+
$ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-source-dir
249+
$ cd linuxcnc-source-dir/src
250+
$ ./debian/configure
251+
$ sudo apt-get build-dep .
252+
$ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -B
253+
----
247254

248255
Building Debian packages is performed with the `dpkg-buildpackage` tool that is
249256
provided by the `dpkg-dev` package. Its execution comes with a series of prerequisites

0 commit comments

Comments
 (0)