File: rules

package info (click to toggle)
cthreadpool 0.0%2Bgit20231218.4eb5a69-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: ansic: 585; sh: 197; makefile: 16
file content (21 lines) | stat: -rwxr-xr-x 324 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh $@


override_dh_auto_clean:
	rm -f thpool.o tests/test tests/error.log
	dh_clean

SHELL=/bin/bash
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cd tests ; \
	for i in normal_compile.sh optimized_compile.sh ; \
	do \
		echo; \
		echo Testing $$i; \
		./$$i; \
	done
endif