Skip to content

Commit 82405cb

Browse files
committed
Remove downstream debian packaging
1 parent 2d6b700 commit 82405cb

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,20 @@ xdg-open /usr/share/doc/libnmbs-dev/html/index.html
4141
# Building
4242

4343
There 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:
4748
https://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-
5049
https://wiki.debian.org/PackagingWithGit
51-
- gbp import-orig --uscan
52-
5350
https://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
5758
dpkg-buildpackage
5859
lintian ../nmbs*.changes
5960

@@ -74,8 +75,8 @@ dch -mi
7475
dh 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

0 commit comments

Comments
 (0)