File: rules

package info (click to toggle)
vifm 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,532 kB
  • ctags: 8,199
  • sloc: ansic: 93,012; sh: 3,971; makefile: 538; perl: 279
file content (29 lines) | stat: -rwxr-xr-x 720 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
#!/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 $@ --with autoreconf

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/vifm-help.txt \
		debian/vifm/usr/share/vifm/vifmrc-osx

	dh_install --fail-missing