File: rules

package info (click to toggle)
tk707 0.8-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 2,280 kB
  • sloc: ansic: 6,772; tcl: 3,359; sh: 934; makefile: 287; lex: 167
file content (31 lines) | stat: -rwxr-xr-x 912 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
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess. 

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

# export MAKE+=-o INSTALL.txt -o texi2help -o version.texi

%:
	dh "$@" --with=autoreconf

override_dh_auto_configure:
	# Add here commands to compile the package.
	dh_auto_configure -- \
		    --with-tcl-includes=/usr/include/tcl

override_dh_clean:
	# Add here commands to clean up after the build process.
	[ ! -f Makefile ] || $(MAKE) distclean
	dh_clean

override_dh_auto_test:

override_dh_auto_install:
	# Add here commands to install the package into debian/<packagename>
	$(MAKE) install DESTDIR=$(CURDIR)/debian/tk707 \
			htmldir=/usr/share/doc/tk707
	$(RM) $(CURDIR)/debian/tk707/usr/share/info/dir

.PHONY: override_dh_auto_configure override_dh_clean override_dh_auto_install override_dh_auto_test