File: CONTRIBUTING.md

package info (click to toggle)
libcleri 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 604 kB
  • sloc: ansic: 4,202; makefile: 53; sh: 40
file content (53 lines) | stat: -rw-r--r-- 841 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Install dependencies
```
sudo apt-get install libpcre2-8-0
```

# Running tests
```
make --directory ./Release test
```

# Build
```
make --directory ./Release clean
make --directory ./Release
```

# Install
```
# You might want to uninstall first...
sudo make --directory ./Release uninstall
sudo make --directory ./Release install
```

# Building deb package
Make sure the required tools are installed
```
sudo apt-get install devscripts lintian
```

When symbols are changed:
```
dpkg-gensymbols -eRelease/libcleri.so -plibcleri0
```

In case of a new package, update the changelog.
Skip this step if you just want to rebuild the current deb version.
```
debchange
git commit -am 'Update changelog'
```

Create archive from code
```
git archive -o ../libcleri_0.10.0.orig.tar.gz master
```

Build deb package
```
debuild -us -uc
```