Commit graph

8 commits

Author SHA1 Message Date
Ryan Tucker
39afa2f07b Markdown-ify the bladeRF-cli interactive help
Adds a new include, doc/cmd_help.h.  This is generated by
pandoc from doc/interactive-help.md.  It's ugly, but that's
why it's programatically generated.

CMake will either generate a new cmd_help.{h,man} or copy them
in from cmd_help.{h,man}.in if pandoc isn't available.

Update cmd.c to use all of these new #defines.  (It looks
cleaner now...!)

Remove the old get-interactive-commands.bash, which is no longer
a part of the build process.  pandoc also generates a man page
snippet for insertion by help2man.

Also some editorial/spelling clarifications/corrections, and
adjustments for formatting.
2014-07-06 17:04:47 -04:00
Frank Jenner
e075cc67d9 bladeRF-cli: Removed python references and build dependencies
Since the man page generation has been changed from a python script to a
bash script, there is no longer a dependency on python.
2014-05-12 22:01:53 -04:00
Ryan Tucker
d9577d52d2 debian: rename libbladerf0-dev -> libbladerf-dev 2013-12-29 16:05:59 -05:00
Ryan Tucker
587682cccc Fix two lintian errors
W: bladerf source: syntax-error-in-dep5-copyright line 95: Continuation line outside a paragraph.
W: bladerf source: ancient-standards-version 3.9.2 (current is 3.9.4)

My laptop (with saucy) is somewhat pickier than my old lucid desktop.
Surprise, surprise.
2013-12-01 13:40:10 -05: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
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
f105e2ef65 Update libbladeRF cmake minimum to 2.8.5
First appearance of GNUInstallDirs module:
http://www.cmake.org/cmake/help/v2.8.5/cmake.html#module:GNUInstallDirs
2013-10-20 12:51:10 -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