blob: 42db5da7e6c0ceaa4bc8de415f76b37152336333 (
plain)
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}
|