~ubuntu-branches/ubuntu/trusty/happy/trusty-proposed

« back to all changes in this revision

Viewing changes to distrib/prep-bin-dist-mingw-haddock

  • Committer: Bazaar Package Importer
  • Author(s): Ian Lynagh (wibble)
  • Date: 2006-10-26 22:52:14 UTC
  • mfrom: (1.2.2 upstream) (3.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20061026225214-6jmf0n3ykkc9elyw
Tags: 1.16~rc2-1
* New upstream (release candidate) version.
* Removed happy/ prefixes from various paths in debian/rules and
  debian/docs.
* doc/configure generated by autoconf is in the Debian diff.
* Build using cabal:
  * Various debian/rules changes.
  * Create debian/get_version.hs for extracting the version from the cabal
    file.
  * Requires ghc6 >= 6.4.2.
  * No longer tries to detect platform. Closes: #340325, #332979.
  * Removed autotool-dev build-dep.
* Add 'XSLTPROC_OPTS = --nonet' to doc/config.mk.in.
* Remove src/Parser.ly and src/AttrGrammarParser.ly before cleaning so
  the generated files don't get cleaned.
* Set Standards-Version to 3.7.2 (no changes needed).
* Removed PS and DVI stanzas from debian/doc-base as we don't build
  the documentation those ways.
* Removed content-free postinst and prerm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# Running 'binary-dist' gives us a tree which
4
 
# isn't quite right for the purposes of creating
5
 
# a mingw/win32 install tree.  This script rejigs
6
 
# the tree.
7
 
#
8
 
# To use:
9
 
#
10
 
#   foo$ cd <top of fptools build tree>
11
 
#   foo$ make binary-dist Project=Ghc 
12
 
#   foo$ cd ghc-<version>
13
 
#   foo$ ../distrib/prep-bin-dist-mingw-haddock <ghc-dir>
14
 
#
15
 
 
16
 
ghc_binary_dir=../$1
17
 
 
18
 
# Play safe
19
 
if ! [ -d bin/i386-unknown-mingw32 ] ; then
20
 
  echo "Doesn't look as if I'm in the toplevel directory of a mingw tree"
21
 
  echo "Usage: cd ghc-<version> ; ../distrib/prep-bin-dist-mingw"
22
 
  exit 1;
23
 
fi;
24
 
 
25
 
echo "rejig bin/"
26
 
mv lib/i386-unknown-mingw32/haddock.bin $ghc_binary_dir/bin/haddock.exe
27
 
strip $ghc_binary_dir/bin/haddock.exe
28
 
 
29
 
echo "rejig lib/"
30
 
mv lib/i386-unknown-mingw32/* $ghc_binary_dir
31
 
 
32
 
exit 0