File: rules

package info (click to toggle)
libleidenalg 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 424 kB
  • sloc: cpp: 3,679; makefile: 11; ansic: 9
file content (17 lines) | stat: -rwxr-xr-x 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export LC_ALL=C.UTF-8
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Work around build failure caused by igraph header path changes.
export CPATH = /usr/include/$(DEB_HOST_MULTIARCH)/igraph

%:
	dh $@

# Work around build failure caused by missing upstream version.
execute_after_dh_auto_clean:
	rm -f $(CURDIR)/VERSION
execute_before_dh_auto_configure:
	echo $(DEB_VERSION_UPSTREAM) > $(CURDIR)/VERSION