]> git.llucax.com Git - software/mutt-debian.git/blob - doc/instdoc.sh.in
584138-mx_update_context-segfault.patch: fix a segfault due to holes in IMAP headers...
[software/mutt-debian.git] / doc / instdoc.sh.in
1 #!/bin/sh --
2
3 prefix=@prefix@
4 exec_prefix=@exec_prefix@
5 bindir=@bindir@
6 libdir=@libdir@
7 mandir=@mandir@
8 srcdir=@srcdir@
9 datarootdir=@datarootdir@
10 docdir=@docdir@
11 includedir=@includedir@
12 top_srcdir=@top_srcdir@
13 top_builddir=..
14
15 SOURCE="$1"
16 TARGET="$2"
17
18
19 rm -f "$TARGET"
20
21 sed -e "s;/usr/local/bin/;$bindir/;g"           \
22     -e "s;/usr/local/doc/mutt/;$docdir/;g"      \
23     "$SOURCE" > $TARGET
24
25 chmod 644 "$TARGET"