File: rules

package info (click to toggle)
git-remote-gcrypt 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 152 kB
  • sloc: sh: 778; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 501 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

manpage = debian/git-remote-gcrypt/usr/share/man/man1/git-remote-gcrypt.1

%:
	dh $@

override_dh_auto_build:
	true
override_dh_auto_clean:
	true

override_dh_auto_install:
	prefix=/usr DESTDIR=debian/git-remote-gcrypt ./install.sh
	# remove installation instructions from manpage (this is
	# essentially an automatically-refreshing quilt patch)
	gunzip ${manpage}.gz
	sed -i ${manpage} -e \
		'/^.SS Installation$$/,/^.SS/{ /^.SS Installation$$/d; /^.SS/!d }'
	gzip -n ${manpage}