uuagc: Implement a stage1 profile build for bootstrapping.
Colin Watson
8 years ago
|
0 |
uuagc (0.9.42.3-8) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
* Implement a stage1 profile build for bootstrapping.
|
|
3 |
|
|
4 |
-- Colin Watson <cjwatson@debian.org> Tue, 22 Dec 2015 01:19:17 +0000
|
|
5 |
|
0 | 6 |
uuagc (0.9.42.3-7) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Switch Vcs-Git/Vcs-Browser headers to new location.
|
2 | 2 |
Uploaders: Joachim Breitner <nomeata@debian.org>
|
3 | 3 |
Priority: optional
|
4 | 4 |
Section: devel
|
5 | |
Build-Depends: debhelper (>= 9),
|
|
5 |
Build-Depends: debhelper (>= 9.20141010),
|
|
6 |
dpkg-dev (>= 1.17.14),
|
6 | 7 |
haskell-devscripts (>= 0.10),
|
7 | 8 |
cdbs,
|
8 | 9 |
ghc,
|
9 | |
uuagc (<< 0.9.42.1-1) | uuagc (>> 0.9.42.2-2),
|
|
10 |
uuagc (<< 0.9.42.1-1) <!stage1> | uuagc (>> 0.9.42.2-2) <!stage1>,
|
10 | 11 |
libghc-uuagc-cabal-dev (>= 1.0.4.0-2),
|
11 | 12 |
libghc-mtl-dev (>= 1.1.1.1),
|
12 | 13 |
libghc-src-exts-dev (>= 1.11.1),
|
5 | 5 |
# UUAGC has a strange way of setting the flag: It has to be set via a cpp
|
6 | 6 |
# defines when compiling Setup
|
7 | 7 |
|
|
8 |
ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
|
|
9 |
EXTERNAL_UUAGC := -DEXTERNAL_UUAGC
|
|
10 |
else
|
|
11 |
EXTERNAL_UUAGC :=
|
|
12 |
endif
|
|
13 |
|
8 | 14 |
$(DEB_SETUP_BIN_NAME):
|
9 | 15 |
if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi
|
10 | |
for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc -DEXTERNAL_UUAGC --make $$setup -o $(DEB_SETUP_BIN_NAME); exit 0; fi; done
|
|
16 |
for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc $(EXTERNAL_UUAGC) --make $$setup -o $(DEB_SETUP_BIN_NAME); exit 0; fi; done
|
11 | 17 |
|
12 | 18 |
build/uuagc:: build-ghc-stamp
|