File: rules

package info (click to toggle)
4pane 7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 10,044 kB
  • sloc: cpp: 38,264; sh: 4,110; ansic: 3,620; makefile: 157; xml: 27
file content (28 lines) | stat: -rwxr-xr-x 758 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
25
26
27
28
#!/usr/bin/make -f

DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:

	# Disable options that are used in some non-package builds
	dh_auto_configure -- --disable-symlink --disable-desktop --disable-install_docs --without-builtin_bzip2

override_dh_compress:
	# Prevent one of the F1-help files being compressed
	dh_compress --exclude=.hhc

override_dh_install:
	# Move the .desktop file to the correct location
	dh_install
	(cd debian/4pane/usr/share && mkdir -p applications && mv 4Pane/rc/4Pane.desktop applications)

override_dh_installdocs:
	# Install the F1-help files to doc/html/
	dh_installdocs
	mkdir -p debian/4pane/usr/share/doc/4pane/html
	cp -Rf doc/* debian/4pane/usr/share/doc/4pane/html