Commit graph

10 commits

Author SHA1 Message Date
Ryan Tucker
c6114b1174 Handle the ppa:bladerf/bladerf versions (#272)
This will permit bladerf-cli --version, etc, to show
something more usable.
2014-07-05 23:21:16 -04:00
Ryan Tucker
8957eda839 Use help2man to generate man pages (fixes #165)
A little more lightweight than the doxygen approach,
and keeps the documentation harmonized with --help.

h/t to A. Maitland Bottoms for pointing me to this.
2013-11-16 16:25:58 -05:00
Ryan Tucker
5583a51990 Enable documentation build for debian packages 2013-10-30 18:39:02 -04:00
Ryan Tucker
86a498c6d5 Add top-level options for toggling host/fx3 builds
Adds ENABLE_HOST_BUILD and ENABLE_FX3_BUILD as CMake options.
2013-10-27 16:25:32 -04:00
Ryan Tucker
98eca856f9 Inject the current Debian snapshot version
This figures out the version number of the source package we're
building, then injects it into the VERSION_INFO within CMake.
2013-10-27 15:51:32 -04:00
Ryan Tucker
f3ab5f5514 Don't always worry about manpage capitalization
Rename the man pages to have the "proper" capitalization, per lintian, only if
we're building a .deb.
2013-10-22 18:08:19 -04:00
Ryan Tucker
3a0b14d4c6 Remove unnecessary debian man page build step
I believe it should just work now
2013-10-20 21:17:50 -04:00
Ryan Tucker
1201f34d36 Fix Debian packaging to support multiarch
Fixes .deb build failure from pull req #150
2013-10-20 13:05:33 -04:00
Ryan Tucker
223adda59c Generate manpages for bladeRF-* with doxygen
It still requires manual canoodling, but the canoodling is with
markdown instead of nroff.
2013-10-06 20:17:26 -04:00
Ryan Tucker
21111276e1 Debianization of libbladeRF and friends
How to build the .debs:
    wget https://github.com/Nuand/bladeRF/archive/master.tar.gz
    tar -zxvf master.tar.gz
    cd bladeRF-master
    debuild -i -us -uc -b

Caveat: once we get into a groove release-wise, we'll need to remember
to update debian/changelog (look at the 'dch' command)

This produces three .deb files:
bladerf_0~20131005-2_amd64.deb
    Contains bladeRF-cli, bladeRF-flash, and man pages
libbladerf0_0~20131005-2_amd64.deb
    Contains libbladeRF.so.0
libbladerf0-dev_0~20131005-2_amd64.deb
    Contains libbladeRF.so symlink, libbladeRF.h, and libbladeRF.pc

This is still somewhat fragile.  Also, it pretty much depends on
Ubuntu 13.10, which hasn't been released yet.  But we're ahead of
the game, no?!
2013-10-06 20:16:19 -04:00