Commit 6952802102d241db3cbbcf80a10bda2379f5935d
Committed by
Stéphane Raimbault
1 parent
3b4d8126
Build Debian debug package for libmodbus
Showing
2 changed files
with
12 additions
and
0 deletions
debian/control
| @@ -16,6 +16,16 @@ Description: A Modbus library | @@ -16,6 +16,16 @@ Description: A Modbus library | ||
| 16 | . | 16 | . |
| 17 | This package contains the libmodbus shared library. | 17 | This package contains the libmodbus shared library. |
| 18 | 18 | ||
| 19 | +Package: libmodbus-dbg | ||
| 20 | +Section: debug | ||
| 21 | +Priority: extra | ||
| 22 | +Architecture: any | ||
| 23 | +Depends: libmodbus5 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} | ||
| 24 | +Description: A Modbus library (debugging symbols) | ||
| 25 | + libmodbus is a C library designed to provide a fast and robust implementation | ||
| 26 | + of the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. | ||
| 27 | + . | ||
| 28 | + This package contains debugging symbols for libmodbus. | ||
| 19 | 29 | ||
| 20 | Package: libmodbus-dev | 30 | Package: libmodbus-dev |
| 21 | Section: libdevel | 31 | Section: libdevel |
debian/rules
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | include /usr/share/cdbs/1/rules/debhelper.mk | 2 | include /usr/share/cdbs/1/rules/debhelper.mk |
| 3 | include /usr/share/cdbs/1/class/autotools.mk | 3 | include /usr/share/cdbs/1/class/autotools.mk |
| 4 | 4 | ||
| 5 | +DEB_DH_STRIP_ARGS := --dbg-package=libmodbus-dbg | ||
| 6 | + | ||
| 5 | makebuilddir:: | 7 | makebuilddir:: |
| 6 | ./autogen.sh | 8 | ./autogen.sh |
| 7 | 9 |