mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
debian: Integrate uhd-doc and uhd-host package changes from community source
https://salsa.debian.org/bottoms/pkg-uhd/-/blob/master/debian
This commit is contained in:
parent
766447bccc
commit
552e6e2cac
@ -30,24 +30,26 @@ override_dh_auto_test:
|
||||
|
||||
override_dh_auto_install-indep:
|
||||
dh_auto_install
|
||||
rm -rf debian/tmp/usr/share/man
|
||||
# rm -rf debian/tmp/usr/share/man
|
||||
rm -rf debian/tmp/usr/share/doc/uhd/LICENSE
|
||||
rm -rf debian/tmp/usr/share/doc/uhd/README.md
|
||||
# Remove source files used to generate documentation
|
||||
rm -rf debian/tmp/usr/share/doc/uhd/doxygen/latex
|
||||
rm -f debian/tmp/usr/libexec/uhd/utils/uhd-usrp.rules
|
||||
|
||||
override_dh_auto_install-arch:
|
||||
cp debian/uhd-host.limits debian/uhd-host/etc/security/limits.d/uhd.conf
|
||||
cp debian/uhd-host.sysctl debian/uhd-host/etc/sysctl.d/uhd-usrp2.conf
|
||||
cp debian/uhd-host.sysctl debian/uhd-host/usr/lib/sysctl.d/50-uhd-usrp2.conf
|
||||
dh_auto_install
|
||||
chmod -x debian/tmp/usr/libexec/uhd/tests/devtest/*.py
|
||||
chmod -x debian/tmp/usr/libexec/uhd/tests/streaming_performance/parse_benchmark_rate.py
|
||||
chmod -x debian/tmp/usr/libexec/uhd/tests/streaming_performance/run_benchmark_rate.py
|
||||
rm -rf debian/tmp/usr/share/man
|
||||
# rm -rf debian/tmp/usr/share/man
|
||||
rm -rf debian/tmp/usr/share/doc/uhd/LICENSE
|
||||
rm -rf debian/tmp/usr/share/doc/uhd/README.md
|
||||
# Remove source files used to generate documentation
|
||||
rm -rf debian/tmp/usr/share/doc/uhd/doxygen/latex
|
||||
rm -f debian/tmp/usr/libexec/uhd/utils/uhd-usrp.rules
|
||||
|
||||
override_dh_acc:
|
||||
- dh_acc $@
|
||||
@ -55,6 +57,13 @@ override_dh_acc:
|
||||
|
||||
override_dh_shlibdeps:
|
||||
dh_shlibdeps --package=uhd-host --libpackage=libuhd4.9.0
|
||||
dh_shlibdeps --package=libuhd4.9.0 --libpackage=libuhd4.9.0
|
||||
dh_shlibdeps --package=libuhd4.9.0 --libpackage=libuhd4.8.0
|
||||
dh_shlibdeps --package=libuhd-dev --libpackage=libuhd4.9.0
|
||||
dh_shlibdeps --package=python3-uhd --libpackage=libuhd4.9.0
|
||||
|
||||
override_dh_auto_clean:
|
||||
rm -rf host/tests/__pycache__
|
||||
rm -rf host/tests/common/chdr_resource/__pycache__
|
||||
rm -rf host/utils/__pycache__
|
||||
rm -rf uhdplain
|
||||
dh_auto_clean $@
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
usr/share/doc/uhd/doxygen /usr/share/doc/uhd-host/
|
||||
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
etc/security/limits.d
|
||||
etc/sysctl.d
|
||||
usr/bin
|
||||
usr/lib
|
||||
usr/lib/sysctl.d
|
||||
usr/libexec/uhd/examples
|
||||
usr/libexec/uhd/tests
|
||||
usr/libexec/uhd/utils
|
||||
|
||||
2
host/cmake/debian/uhd_doc.docs
Normal file
2
host/cmake/debian/uhd_doc.docs
Normal file
@ -0,0 +1,2 @@
|
||||
usr/share/doc/uhd/README.md
|
||||
usr/share/doc/uhd/html
|
||||
Loading…
Reference in New Issue
Block a user