Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 export LC_ALL=C.UTF-8
3 include /usr/share/dpkg/architecture.mk
4 include /usr/share/dpkg/pkg-info.mk
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6
7 # Work around build failure caused by igraph header path changes.
8 export CPATH = /usr/include/$(DEB_HOST_MULTIARCH)/igraph
9
10 %:
11 dh $@
12
13 # Work around build failure caused by missing upstream version.
14 execute_after_dh_auto_clean:
15 rm -f $(CURDIR)/VERSION
16 execute_before_dh_auto_configure:
17 echo $(DEB_VERSION_UPSTREAM) > $(CURDIR)/VERSION