]> gitweb @ CieloNegro.org - build-hc-pkg.git/blob - files/mkboot
build-hc-pkg seems to be mature now.
[build-hc-pkg.git] / files / mkboot
1 #!/bin/sh
2 set -x
3 rm -f list mkfiles boot.tar
4 find . -name "*.hi" >> list
5 find . -name "*.hc" >> list
6 find . -name "*_stub.c" >> list
7 find . -name "*_stub.h" >> list
8 find . -name package-data.mk >> list
9 find . -name package.conf.d >> list
10 find . -name package.conf.inplace >> list
11 ls compiler/stage?/build/Config.hs >> list
12 echo compiler/prelude/primops.txt >> list
13 ls compiler/primop-*.hs-incl >> list
14 find . -name .depend | sed -e 's/^/mkdir -p `dirname /' -e 's/$/`/' >> mkfiles
15 find . -name .depend | sed "s/^/touch /" >> mkfiles
16 echo mkfiles >> list
17 tar -cf boot.tar -T list