[DHG_packages] 03/06: alex: Implement a stage1 profile build for bootstrapping.
Colin Watson
cjwatson at moszumanska.debian.org
Tue Dec 22 02:42:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
cjwatson pushed a commit to branch master
in repository DHG_packages.
commit 2469daea9712b06af1f5fc65e79dc910d90209ec
Author: Colin Watson <cjwatson at debian.org>
Date: Tue Dec 22 02:34:41 2015 +0000
alex: Implement a stage1 profile build for bootstrapping.
---
p/alex/debian/changelog | 6 ++++++
p/alex/debian/control | 5 +++--
p/alex/debian/rules | 7 +++++++
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/p/alex/debian/changelog b/p/alex/debian/changelog
index ff88543..b292596 100644
--- a/p/alex/debian/changelog
+++ b/p/alex/debian/changelog
@@ -1,3 +1,9 @@
+alex (3.1.5-2) UNRELEASED; urgency=medium
+
+ * Implement a stage1 profile build for bootstrapping.
+
+ -- Colin Watson <cjwatson at debian.org> Tue, 22 Dec 2015 01:51:29 +0000
+
alex (3.1.5-1) unstable; urgency=medium
* New upstream release
diff --git a/p/alex/debian/control b/p/alex/debian/control
index 2889166..3d54d3e 100644
--- a/p/alex/debian/control
+++ b/p/alex/debian/control
@@ -5,9 +5,10 @@ Priority: extra
Section: haskell
Build-Depends: cdbs (>= 0.4.59),
haskell-devscripts (>= 0.10),
- debhelper (>= 9),
+ debhelper (>= 9.20141010),
+ dpkg-dev (>= 1.17.14),
ghc (>= 7.10),
- alex,
+ alex <!stage1>,
happy,
jade,
docbook-utils,
diff --git a/p/alex/debian/rules b/p/alex/debian/rules
index d98389f..9df478e 100755
--- a/p/alex/debian/rules
+++ b/p/alex/debian/rules
@@ -14,6 +14,13 @@ DEB_ENABLE_TESTS = yes
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
+ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
+DEB_SETUP_GHC_CONFIGURE_ARGS := --with-alex=/bin/true
+
+cleanbuilddir/alex::
+ cp -a dist/build/alex/alex-tmp/*.hs src/
+endif
+
clean::
[ ! -f doc/config.mk ] || $(MAKE) -C doc clean
# Remove these so setup clean doesn't remove the generated files
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list