File: rules

package info (click to toggle)
deal 3.1.9-11
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,540 kB
  • sloc: ansic: 5,224; cpp: 4,186; tcl: 3,125; makefile: 205; sh: 10
file content (23 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

override_dh_auto_build:
	dpkg-architecture -f -a$(DEB_BUILD_ARCH) -c dh_auto_build -- makecounttable LDFLAGS=
	dh_auto_build -- EXTRA_LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" \
		EXTRA_CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)"

override_dh_auto_test:

override_dh_auto_clean:
	touch Make.dep
	$(MAKE) clean
	dh_clean makecounttable counttable.c build-stamp configure-stamp
	# test suite leftovers
	rm -f test.out correct.out

override_dh_installman:
	dh_installman debian/deal.6

%:
	dh $@