* cmake: Fix location of modprobe.d config.
* cmake: Use cmake variables for install locations.
This commit add the following two Cmake variables to
change the install location of the udev and modprobe
configuration files:
- STLINK_UDEV_RULES_DIR
- STLINK_MODPROBED_DIR
* doc/compiling.md: Add info about new CMAKE variables.
* debian: Use CMAKE variables for build.
The top-level makefile that was used to drive cmake broke the autodetection
of the used buildsystem by debhelper. This commit fixes it and moves most
of the installation stuff to CMakeLists.txt to keep debian/ folder contents
to the bare minimum.
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
Override dh_auto_install to use *.install files as they are.
The debian/*.install could contain source to destination format too,
but that would be much more difficult to handle with multi-arch.
Add debian copyright file.
Add stlink-tools manpages.
Insert homepage link.
Add library dependencies to binaries.
Add howto debuild to README.
Install udev rules.
Install modprobe config for usb module.
Configure cmake with /usr prefix and compile release variant.