File: rules

package info (click to toggle)
elektroid 3.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,744 kB
  • sloc: ansic: 25,454; sh: 461; makefile: 292; xml: 72
file content (22 lines) | stat: -rwxr-xr-x 497 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk

# Fix cross building
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
    export ac_cv_func_malloc_0_nonnull=yes
endif

%:
	dh $@

override_dh_auto_test:
	# Don't enable tests, if no elektron device is connected
	@echo "Tests disabled"
	
override_dh_auto_install:
	dh_auto_install
	# We remove the headers, so far we have no -dev package
	rm -fr $(CURDIR)/debian/elektroid/usr/include