aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-02-06 18:30:35 -0500
committerBen Gamari <ben@smart-cactus.org>2021-02-06 18:30:35 -0500
commitb995bfe84f9766e23ff78d7ccd520ec7d8cdbebc (patch)
tree3e7f15ac3b0abe417797ec89275aa1209f6ca297 /scripts
parent9f597b6647a53624eaf501a34bfb4d8d15425929 (diff)
parent010f0320dff64e3f86091ba4691bc69ce6999647 (diff)
Merge branch 'wip/ghc-head-merge' into ghc-head
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build-windows-dist.sh18
-rw-r--r--scripts/make-sdist.sh36
2 files changed, 0 insertions, 54 deletions
diff --git a/scripts/build-windows-dist.sh b/scripts/build-windows-dist.sh
deleted file mode 100644
index 2ae7dd2a..00000000
--- a/scripts/build-windows-dist.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-# mini script for building the relocatable Windows binary distribution.
-#
-# sh build-windows-dist.sh
-#
-# NB. the Cabal that shipped with GHC 6.6 isn't enough for this, because it
-# is missing this patch:
-#
-# Fri Oct 13 11:09:41 BST 2006 Simon Marlow <simonmar@microsoft.com>
-# * Fix getDataDir etc. when bindir=$prefix
-#
-# So you need to use a more recent Cabal. GHC 6.6 is fine for building the
-# package, though.
-
-ghc --make Setup
-./Setup configure --prefix=`pwd`/install --bindir='$prefix' --libdir='$prefix' --datadir='$prefix'
-./Setup build
-./Setup install
-echo Now zip up `pwd`/install as "haddock-<version>-Win32.zip"
diff --git a/scripts/make-sdist.sh b/scripts/make-sdist.sh
deleted file mode 100644
index 914bf909..00000000
--- a/scripts/make-sdist.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-# Put the Happy-generated .hs files in the right place in the source dist.
-set -e
-rm -f dist/haddock-*.tar.gz
-rm -rf dist/haddock-*/
-./Setup sdist
-cd dist
-tar xvzf haddock-*.tar.gz
-cd haddock-*/
-mkdir dist
-mkdir dist/build
-mv haddock dist/build
-cd ..
-tar cvzf haddock-*.tar.gz haddock-*/
-
-# Steps for doing a release:
-# * Update version number in .cabal, doc/haddock.xml
-# * Update CHANGES
-# * Source:
-# - do the above
-# - upload the dist to haskell.org:haddock/dist/${version}
-# - scp CHANGES haskell.org:haddock/CHANGES.txt
-# * Binaries:
-# - build the Windows binary zip (see build-windows-dist.sh)
-# - scp haddock-<version>-Win32.zip haskell.org:haddock/dist
-# * Documentation:
-# - cd doc
-# - make html
-# - mv haddock haddock-html
-# - tar cvzf haddock-doc-html-${version}.tar.gz haddock-html
-# - scp haddock-doc-html-${version}.tar.gz www.haskell.org:../haskell/haddock/doc
-# - ssh haskell.org
-# - cd haddock/doc
-# - tar xvzf haddock-doc-html-${version}.tar.gz
-# - rm -rf html-OLD
-# - mv html html-OLD && mv haddock-html html
-# * Update the web page (~/darcs/www/haddock/index.html), and push it