]> gitweb @ CieloNegro.org - build-hc-pkg.git/blobdiff - files/mkboot
build-hc-pkg seems to be mature now.
[build-hc-pkg.git] / files / mkboot
diff --git a/files/mkboot b/files/mkboot
new file mode 100755 (executable)
index 0000000..4692719
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -x
+rm -f list mkfiles boot.tar
+find . -name "*.hi" >> list
+find . -name "*.hc" >> list
+find . -name "*_stub.c" >> list
+find . -name "*_stub.h" >> list
+find . -name package-data.mk >> list
+find . -name package.conf.d >> list
+find . -name package.conf.inplace >> list
+ls compiler/stage?/build/Config.hs >> list
+echo compiler/prelude/primops.txt >> list
+ls compiler/primop-*.hs-incl >> list
+find . -name .depend | sed -e 's/^/mkdir -p `dirname /' -e 's/$/`/' >> mkfiles
+find . -name .depend | sed "s/^/touch /" >> mkfiles
+echo mkfiles >> list
+tar -cf boot.tar -T list