Permalink
Browse files

add sdist-fudge script

  • Loading branch information...
Simon Marlow
Simon Marlow committed Nov 1, 2007
1 parent 67e93a0 commit 0a136a62c2d26c416c037f331b4e85fcd6cf290c
Showing with 13 additions and 0 deletions.
  1. +13 −0 make-sdist.sh
View
@@ -0,0 +1,13 @@
+# Put the Happy-generated .hs files in the right place in the source dist.
+set -e
+rm -f dist/alex-*.tar.gz
+rm -rf dist/alex-*/
+./Setup sdist
+cd dist
+tar xvzf alex-*.tar.gz
+cd alex-*/
+mkdir dist
+mkdir dist/build
+mv alex dist/build
+cd ..
+tar cvzf alex-*.tar.gz alex-*/

0 comments on commit 0a136a6

Please sign in to comment.