Debian Codegraph @

debian/rules

raw
1 #! /usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
8 DEB_CONFIGURE_EXTRA_FLAGS += --enable-debug
9 endif
10
11 ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
12 DEB_CONFIGURE_EXTRA_FLAGS += --disable-tests
13 endif
14
15 override_dh_auto_configure:
16 # TODO: fix static library build with --enable-lto
17 dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
18
19 override_dh_auto_build:
20 dh_auto_build
21 ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),)
22 $(MAKE) doc
23 endif
24
25 %:
26 dh $@
27
28 .PHONY: override_dh_auto_configure override_dh_auto_build