posaune
[projects.git] / debian / mbuild.cp
1 #!/bin/bash
2 set -e
3
4 base=$1
5
6 mkdir -p $base/usr/bin/
7 cp tools/make/mconfigure $base/usr/bin/
8 cp tools/make/treecopy $base/usr/bin/
9
10 mkdir -p $base/usr/share/mbuild/
11 cp tools/make/rules $base/usr/share/mbuild/
12 cp tools/make/insert_build.sh $base/usr/share/mbuild/
13 cp tools/make/mMakefile $base/usr/share/mbuild/makefile
14 cp tools/make/c_configure.sh $base/usr/share/mbuild/
15 cp tools/make/cpp.make $base/usr/share/mbuild/
16 cp doc/copyright $base/usr/share/mbuild/
17
18 mkdir -p $base/usr/share/man/man8
19 gzip -c doc/mbuild.8 >$base/usr/share/man/man8/mbuild.8.gz
20 mkdir -p $base/usr/share/man/man1
21 gzip -c doc/mconfigure.1 >$base/usr/share/man/man1/mconfigure.1.gz
22
23 mkdir -p $base/usr/share/doc/mbuild
24 cp debian/mbuild.changelog $base/usr/share/doc/mbuild/changelog
25