File: rules

package info (click to toggle)
imv 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 604 kB
  • sloc: ansic: 6,324; makefile: 8; sh: 5
file content (14 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# https://wiki.debian.org/HardeningWalkthrough
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

execute_after_dh_auto_install:
	# Handle the imv name clash after running the upstream installer.
	mkdir -p debian/imv/usr/libexec/imv
	mv -v debian/imv/usr/bin/imv debian/imv/usr/libexec/imv/
	mv -v debian/imv/usr/share/man/man1/imv.1 debian/imv/usr/share/man/man1/imv-x11.1
	mv -v debian/imv/usr/share/man/man5/imv.5 debian/imv/usr/share/man/man5/imv-x11.5