Codebase list haskell-xss-sanitize / e099cdf
uuagc: Implement a stage1 profile build for bootstrapping. Colin Watson 8 years ago
3 changed file(s) with 16 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
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
06 uuagc (0.9.42.3-7) unstable; urgency=medium
17
28 * Switch Vcs-Git/Vcs-Browser headers to new location.
22 Uploaders: Joachim Breitner <nomeata@debian.org>
33 Priority: optional
44 Section: devel
5 Build-Depends: debhelper (>= 9),
5 Build-Depends: debhelper (>= 9.20141010),
6 dpkg-dev (>= 1.17.14),
67 haskell-devscripts (>= 0.10),
78 cdbs,
89 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>,
1011 libghc-uuagc-cabal-dev (>= 1.0.4.0-2),
1112 libghc-mtl-dev (>= 1.1.1.1),
1213 libghc-src-exts-dev (>= 1.11.1),
55 # UUAGC has a strange way of setting the flag: It has to be set via a cpp
66 # defines when compiling Setup
77
8 ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
9 EXTERNAL_UUAGC := -DEXTERNAL_UUAGC
10 else
11 EXTERNAL_UUAGC :=
12 endif
13
814 $(DEB_SETUP_BIN_NAME):
915 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
1117
1218 build/uuagc:: build-ghc-stamp