File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,19 +41,20 @@ xdg-open /usr/share/doc/libnmbs-dev/html/index.html
4141# Building
4242
4343There are a few methods for building this project. The primary focus is ensuring that the debian package is clean and
44- stable. This is done as follows (assuming current dir is the project root).
44+ stable. We use CMake as the primary build tool in the upstream repository, and a mix of git-buildpackage and debhelper
45+ in the downstream debian packageing repository. Here are a few common commands used.
4546
46- TODO :
47+ Some Docs :
4748https://dep-team.pages.debian.net/deps/dep14/
48- - For example, a Debian maintainer releasing a package with version 2:1.2~ rc1-1 would create a tag named debian/2%1.2_rc1-1
49-
5049https://wiki.debian.org/PackagingWithGit
51- - gbp import-orig --uscan
52-
5350https://wiki.debian.org/debian/watch
5451
5552``` shell
5653
54+ # Update source if a new release has been tagged upstream
55+ gbp import-orig --uscan
56+
57+ # Build the debian package
5758dpkg-buildpackage
5859lintian ../nmbs* .changes
5960
@@ -74,8 +75,8 @@ dch -mi
7475dh clean
7576```
7677
77- Finally, this is a CLion project. The project settings include a "dpkg" target, and just using the GUI will work for
78- the CMake Targets.
78+ Finally, this is a CLion project. The project settings include "dpkg" and "cpack" targets, just using the GUI will work
79+ for the CMake Targets.
7980
8081# Runtime Environment Variables
8182
You can’t perform that action at this time.
0 commit comments