File: rules

package info (click to toggle)
orocos-bfl 0.8.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 2,040 kB
  • sloc: cpp: 14,358; sh: 89; makefile: 8; ansic: 4
file content (17 lines) | stat: -rwxr-xr-x 581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_EXAMPLES=OFF

# do not compress anything in /usr/share/doc/liborocos-bfl-examples/examples
# because otherwise eight source files will be compressed (because they are
# larger than 4K) while 18 will not (because they are smaller), resulting in an
# inconsistent mess
override_dh_compress:
	dh_compress --package=liborocos-bfl-examples --exclude=usr/share/doc/liborocos-bfl-examples/examples
	dh_compress --remaining-packages