Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE=1
5 export DH_OPTIONS
6 export LC_ALL=C.UTF-8
7
8 export "DEB_BUILD_MAINT_OPTIONS=hardening=+all optimize=+lto reproducible=+fixfilepath"
9 DPKG_EXPORT_BUILDFLAGS = 1
10 include /usr/share/dpkg/buildflags.mk
11
12 %:
13 dh $@
14
15 override_dh_auto_configure:
16 dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON -DENABLE_PYTHON_BINDINGS=ON "-DPYTHON_INSTALL_PARAMS=--no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp"
17
18 execute_after_dh_auto_install:
19 find $(CURDIR) -type f -name '*.pyc' -delete
20 find $(CURDIR) -type f -name '*.pyo' -delete
21 find $(CURDIR) -type f -name '*.la' -delete
22
23 execute_after_dh_installdocs:
24 dh_installdocs -A AUTHORS