| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
|
| 9 |
# see ENVIRONMENT in dpkg-buildflags(1) |
| 10 |
# package maintainers to append CFLAGS |
| 11 |
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 12 |
# package maintainers to append LDFLAGS |
| 13 |
export DEB_LDFLAGS_MAINT_APPEND = \ |
| 14 |
-Wl,--as-needed \ |
| 15 |
-Wl,--version-script=$(CURDIR)/debian/libuvc.ver |
| 16 |
|
| 17 |
|
| 18 |
%: |
| 19 |
dh $@ |
| 20 |
|
| 21 |
override_dh_auto_build-indep: |
| 22 |
doxygen doxygen.conf |
| 23 |
|
| 24 |
override_dh_auto_install-indep: |
| 25 |
|
| 26 |
execute_before_dh_install-indep: |
| 27 |
-dh_doxygen doc/ |
| 28 |
|
| 29 |
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \ |
| 30 |
debian/.* |
| 31 |
# licensecheck v1 |
| 32 |
.PHONY: licensecheck |
| 33 |
licensecheck: |
| 34 |
LANG=C.UTF-8 licensecheck \ |
| 35 |
-i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \ |
| 36 |
--check '.*' --recursive --deb-machine --lines 0 * \ |
| 37 |
> debian/copyright_newhints |
| 38 |
cmp debian/copyright_hints debian/copyright_newhints \ |
| 39 |
&& rm debian/copyright_newhints |