File: rules

package info (click to toggle)
vym 2.9.604-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,476 kB
  • sloc: cpp: 45,317; ruby: 2,181; xml: 667; sh: 70; makefile: 15
file content (24 lines) | stat: -rwxr-xr-x 596 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall
export QT_SELECT = 6

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_INSTALL_MANDIR="share/man/man1"

override_dh_auto_install:
	dh_auto_install --destdir=debian/vym/
	# Remove empty directory
	rmdir debian/vym/usr/share/doc/vym/devel
	# Ensure helper scripts are executable
	chmod +x debian/vym/usr/share/vym/scripts/vivym \
		 debian/vym/usr/share/vym/scripts/vym-addmail.rb

# prevent compression of pdf documentation
override_dh_compress:
	dh_compress -X.pdf