Enable building Ubuntu debug symbol packages

This commit is contained in:
Bartek Kryza
2023-12-11 09:44:22 +01:00
parent 72013f8725
commit 11c0305119
3 changed files with 11 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ PROJECT_NAME = "clang-uml"
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 0.4.1
PROJECT_NUMBER = 0.4.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a

View File

@@ -10,6 +10,7 @@ cd packaging
make DIST=focal deb
make DIST=jammy deb
make DIST=lunar deb
make DIST=mantic deb
cd _BUILD/ubuntu/focal
dput ppa:bkryza/clang-uml *.changes
@@ -17,17 +18,20 @@ dput ppa:bkryza/clang-uml *.changes
cd _BUILD/ubuntu/jammy
dput ppa:bkryza/clang-uml *.changes
cd _BUILD/ubuntu/kinetic
cd _BUILD/ubuntu/lunar
dput ppa:bkryza/clang-uml *.changes
cd _BUILD/ubuntu/mantic
dput ppa:bkryza/clang-uml *.changes
```
## Fedora
```bash
cd clang-uml
make fedora_36
make fedora_37
make fedora/37
make fedora/38
make fedora/39
find packaging/_BUILD/fedora
```
@@ -37,6 +41,7 @@ find packaging/_BUILD/fedora
docker run --rm -v $PWD:$PWD -it continuumio/miniconda3 bash
conda install conda-build make anaconda-client
cd packaging
git config --global --add safe.directory /home/bartek/devel/clang-uml
make CONDA_TOKEN=<TOKEN> conda
```

View File

@@ -13,8 +13,9 @@ override_dh_auto_configure:
-DGIT_VERSION={{VERSION}} \
-DBUILD_TESTS=OFF
.PHONY: override_dh_strip
override_dh_strip:
dh_strip --dbgsym-migration='clang-uml-dbg (<<{{VERSION}}-1~)'
dh_strip --automatic-dbgsym
%:
dh $@ --with bash-completion