File: rules

package info (click to toggle)
vifm 0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,864 kB
  • sloc: ansic: 115,341; sh: 4,056; makefile: 598; perl: 279
file content (31 lines) | stat: -rwxr-xr-x 691 bytes parent folder | download | duplicates (2)
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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export LC_ALL=C.UTF-8
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-X11 --with-dyn-X11 --without-gtk --disable-build-timestamp

override_dh_shlibdeps:
	dh_shlibdeps -- -xlibx11-6

override_dh_install:
	rm -r \
		debian/vifm/usr/share/doc/vifm/COPYING \
		debian/vifm/usr/share/doc/vifm/INSTALL \
		debian/vifm/usr/share/doc/vifm/ChangeLog \
		debian/vifm/usr/share/vifm/vim \
		debian/vifm/usr/share/vifm/vim-doc \
		debian/vifm/usr/share/vifm/vifmrc-osx

	dh_install

override_dh_missing:
	dh_missing --fail-missing