File: rules

package info (click to toggle)
eggdrop 1.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 7,696 kB
  • sloc: ansic: 59,508; sh: 5,051; tcl: 3,248; makefile: 1,705; python: 50
file content (22 lines) | stat: -rwxr-xr-x 555 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	dh_autoreconf
	dh_auto_configure -- --with-tcllib=/usr/lib/$(DEB_HOST_MULTIARCH)/libtcl8.6.so --with-tclinc=/usr/include/tcl8.6/tcl.h
	make config

override_dh_auto_install:
	make install DEST=$$(pwd)/debian/tmp
	rm $$(pwd)/debian/tmp/scripts/autobotchk
	rm $$(pwd)/debian/tmp/scripts/sentinel.tcl