Nico Golde:
[apps/madmutt.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 docdir=@docdir@
10 includedir=@includedir@
11 top_srcdir=@top_srcdir@
12 top_builddir=..
13
14 SOURCE="$1"
15 TARGET="$2"
16
17
18 rm -f "$TARGET"
19
20 sed -e "s;/usr/local/bin/;$bindir/;g"           \
21     -e "s;/usr/local/doc/mutt/;$docdir/;g"      \
22     "$SOURCE" > $TARGET
23
24 chmod 644 "$TARGET"