File: rules

package info (click to toggle)
tkgate 2.0~b10-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,896 kB
  • ctags: 18,120
  • sloc: ansic: 60,945; tcl: 20,097; sh: 8,868; yacc: 1,047; lex: 837; makefile: 117; perl: 39
file content (27 lines) | stat: -rwxr-xr-x 706 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
23
24
25
26
27
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

%:
	dh $@ --with quilt,autotools_dev

CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

override_dh_auto_configure:
	dh_auto_configure -- LDFLAGS="$(LDFLAGS) -Wl,--as-needed -lm" \
			CPPFLAGS="$(CPPFLAGS)" \
			CFLAGS="$(CFLAGS)" \
			CXXFLAGS="$(CXXFLAGS)"

override_dh_install:
	dh_install -Xlicense.txt -Xlibexec

override_dh_compress:
	dh_compress -X.xbm -X.xpm -Xmenagerie.gm -Xbigcurs.b -Xsmallcurs.b

override_dh_clean:
	dh_clean
	rm -f libexec/*