File: rules

package info (click to toggle)
detox 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,500 kB
  • sloc: ansic: 2,496; sh: 1,468; yacc: 234; makefile: 189; lex: 68; php: 32
file content (19 lines) | stat: -rwxr-xr-x 563 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

# From CHANGELOG.md (upstream):
# "1.1.1 (2005-03-13)
#  [...]
#  - Modified the install script to install the config file and translation
#    tables as `".sample"` as well as the working version, for all users, but
#    in particular, to make patching the `Makefile` easier for the FreeBSD
#    port."
#
# It is not useful for Debian users, so we are dropping .sample files.
execute_after_dh_auto_install:
	find debian/detox -name '*.sample' -exec rm -f {} \;