File: rules

package info (click to toggle)
yajl-tcl 1.7.0-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 1,756 kB
  • sloc: tcl: 30,189; ansic: 888; sh: 112; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 613 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

# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

DIR = $(shell pwd)/debian/tcl-yajltcl

%:
	dh $@

override_dh_auto_configure:
	CFLAGS="-I/usr/include/tcl"                         \
	dh_auto_configure -- --with-tcl=/usr/lib/           \
                         --prefix=/usr                  \
                         --libdir=/usr/lib/tcltk        \
                         --libexecdir=/usr/lib/tcltk

override_dh_auto_install:
	dh_auto_install
	find $(DIR) -depth -type d -empty -delete

.PHONY: override_dh_auto_configure override_dh_auto_install