File: rules

package info (click to toggle)
wininfo 0.7-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,640 kB
  • ctags: 1,362
  • sloc: ansic: 10,170; sh: 9,245; makefile: 491; yacc: 288
file content (23 lines) | stat: -rwxr-xr-x 521 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
export DEB_CFLAGS_MAINT_APPEND	= -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

include debian/debian-autotools.mk

override_dh_auto_configure:
	$(config-save)
	$(config-patch)
	dh_auto_configure -- --disable-rpath
	# Still leaves -Wl,--rpath, so fix manually
	sed --in-place "s,^\(hardcode_libdir_flag_spec\),#\1," libtool

override_dh_installchangelogs:
	$(config-restore)
	dh_installchangelogs ChangeLog

%:
	dh $@

# End of file