Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE = 1
5
6 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
8 export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic
9
10 %:
11 dh $@ --sourcedirectory=console --buildsystem=cmake
12
13 override_dh_auto_clean:
14 dh_auto_clean
15 $(RM) -rf build/man
16
17 override_dh_auto_configure:
18 dh_auto_configure -- -DBATCH_VERSION=ON \
19 -DUSE_STATIC_RUNTIME=OFF \
20 -DUSE_SYSTEM_ZLIB=ON \
21 -DUSE_OPENJPEG=ON \
22 -DUSE_TURBOJPEG=ON \
23 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
24
25 override_dh_auto_build:
26 dh_auto_build
27 sphinx-build -N -b man docs/source build/man
28
29 override_dh_installchangelogs:
30 dh_installchangelogs VERSIONS.md