Skip to content

Commit b3fbbf9

Browse files
committed
docs: rodw-au on building Debian packages
1 parent b0b0c8b commit b3fbbf9

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

docs/src/code/building-linuxcnc.adoc

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

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

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

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

0 commit comments

Comments
 (0)