File: rules

package info (click to toggle)
log4cpp 1.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,444 kB
  • sloc: cpp: 6,715; sh: 3,670; ansic: 1,049; makefile: 295
file content (19 lines) | stat: -rwxr-xr-x 462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	PTHREAD_LIBS="-lpthread" dh_auto_configure -- --enable-threads=pthread

override_dh_acc:
	- dh_acc $@

override_dh_auto_install:
	dh_auto_install
	# Remove the build path from passed arguments for reproducible builds
	sed -i -e "s,$(CURDIR),BUILDPATH,g" debian/tmp/usr/bin/log4cpp-config

override_sh_auto_clean:
	dh_clean
	rm -f tests/dailyrolling_file.log.*
	rm -f tests/nesteddir/*