Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marcin Szamotulski
haddock
Commits
bd46e046
Commit
bd46e046
authored
17 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
add build scripts
parent
6b993ddc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build-windows-dist.sh
+18
-0
18 additions, 0 deletions
build-windows-dist.sh
make-sdist.sh
+34
-0
34 additions, 0 deletions
make-sdist.sh
with
52 additions
and
0 deletions
build-windows-dist.sh
0 → 100644
+
18
−
0
View file @
bd46e046
# 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"
This diff is collapsed.
Click to expand it.
make-sdist.sh
0 → 100644
+
34
−
0
View file @
bd46e046
# 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:
# * 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 haskell.org: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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment