Debian Codegraph @

packaging/debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 -include /usr/share/dpkg/buildflags.mk
5
6 CFLAGS += $(CPPFLAGS)
7 CXXFLAGS += $(CPPFLAGS)
8
9 export CFLAGS CXXFLAGS LDFLAGS
10
11 %:
12 dh $@
13
14 override_dh_auto_configure:
15 # Remove bundled stuff
16 rm -rf test/pywebdav
17 dh_auto_configure -- -DLIB_SUFFIX="" \
18 -DENABLE_THIRD_PARTY_COPY=TRUE -DENABLE_HTML_DOCS=TRUE
19
20 override_dh_auto_build:
21 dh_auto_build -- all doc
22
23 override_dh_install:
24 rm debian/tmp/usr/share/doc/davix/LICENSE
25 dh_install --fail-missing
26
27 override_dh_auto_test:
28 dh_auto_test -- ARGS+="-V -T Test"