Commit 857fff603f51ca26cf8ca3e149ae2d08830aca30

Authored by Stéphane Raimbault
1 parent 20281893

Debian packaging

- Add test files to examples directory in libmodbus-dev.
- Add MIGRATION file to libmodbus-dev.
- Define the compatibility level to 6.
- Add MIGRATION to EXTRA_DIST in Makefile.am
- Add README to  EXTRA_DIST in tests/Makefile.am
- Add unit-test.h as dependency in tests/Makefile.am
Makefile.am
  1 +EXTRA_DIST = MIGRATION
1 SUBDIRS = modbus tests 2 SUBDIRS = modbus tests
2 3
3 pkgconfigdir = $(libdir)/pkgconfig 4 pkgconfigdir = $(libdir)/pkgconfig
debian/changelog
  1 +libmodbus (2.0.0-2) hardy; urgency=low
  2 +
  3 + * Add test files to examples directory in libmodbus-dev.
  4 + * Add MIGRATION file to libmodbus-dev.
  5 + * Define the compatibility level to 6.
  6 +
  7 + -- Stéphane Raimbault <stephane.raimbault@gmail.com> Sun, 18 May 2008 14:30:23 +0200
  8 +
1 libmodbus (2.0.0-1) hardy; urgency=low 9 libmodbus (2.0.0-1) hardy; urgency=low
2 10
3 * Initial release. 11 * Initial release.
debian/compat 0 → 100644
  1 +6
debian/libmodbus-dev.docs 0 → 100644
  1 +MIGRATION
debian/libmodbus-dev.examples 0 → 100644
  1 +tests/*.[ch]
  2 +tests/README
tests/Makefile.am
  1 +EXTRA_DIST = README
  2 +
1 noinst_PROGRAMS = \ 3 noinst_PROGRAMS = \
2 random-test-slave \ 4 random-test-slave \
3 random-test-master \ 5 random-test-master \
@@ -15,10 +17,10 @@ random_test_slave_LDADD = $(common_ldflags) @@ -15,10 +17,10 @@ random_test_slave_LDADD = $(common_ldflags)
15 random_test_master_SOURCES = random-test-master.c 17 random_test_master_SOURCES = random-test-master.c
16 random_test_master_LDADD = $(common_ldflags) 18 random_test_master_LDADD = $(common_ldflags)
17 19
18 -unit_test_slave_SOURCES = unit-test-slave.c 20 +unit_test_slave_SOURCES = unit-test-slave.c unit-test.h
19 unit_test_slave_LDADD = $(common_ldflags) 21 unit_test_slave_LDADD = $(common_ldflags)
20 22
21 -unit_test_master_SOURCES = unit-test-master.c 23 +unit_test_master_SOURCES = unit-test-master.c unit-test.h
22 unit_test_master_LDADD = $(common_ldflags) 24 unit_test_master_LDADD = $(common_ldflags)
23 25
24 bench_bandwidth_slave_SOURCES = bench-bandwidth-slave.c 26 bench_bandwidth_slave_SOURCES = bench-bandwidth-slave.c