sudo apt-get install libpcre2-8-0
make --directory ./Release test
make --directory ./Release clean
make --directory ./Release
# You might want to uninstall first...
sudo make --directory ./Release uninstall
sudo make --directory ./Release install
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
In case of any changes, commit
git commit -am 'some work that has been done'
Create archive from code
git archive -o ../libcleri_1.0.0.orig.tar.gz master
Build deb package
debuild -us -uc