]> woffs.de Git - fd/haskell-amqp-utils.git/blob - debian/rules
update reuse compat
[fd/haskell-amqp-utils.git] / debian / rules
1 #!/usr/bin/make -f
2 %:
3         dh $@
4
5 override_dh_auto_configure:
6         mkdir -p $(CURDIR)/stack-bin
7         curl -sSL https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar -xOzf - --wildcards \*/stack > $(CURDIR)/stack-bin/stack
8         chmod +x $(CURDIR)/stack-bin/stack
9
10 override_dh_auto_build:
11         mkdir -p $(CURDIR)/.home
12         PATH=$$PATH:$(CURDIR)/stack-bin LC_ALL=C.UTF-8 LANG=C.UTF-8 HOME=$(CURDIR)/.home dh_auto_build --parallel -- pfx=/usr
13
14 override_dh_auto_install:
15         mkdir -p $(CURDIR)/.home
16         PATH=$$PATH:$(CURDIR)/stack-bin LC_ALL=C.UTF-8 LANG=C.UTF-8 HOME=$(CURDIR)/.home dh_auto_install --parallel -- pfx=/usr