summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 87de1c07896a3b29ae601cc4455164fb4e7a33b8 (plain)
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 "$@"

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