summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 8158e3c1ac798b62a1631b935e2a9dfe56f190b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

%: 
	+dh $@

override_dh_auto_build:
	cabal build

override_dh_auto_clean:
	rm -fr dist/build

override_dh_auto_configure:
	cabal update
	cabal install --only-dependencies
	cabal configure --prefix=/usr -fserver

override_dh_auto_install:
	cabal copy --destdir=$(CURDIR)/debian/gf

override_dh_auto_test:
ifneq (nocheck,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	true
#	cabal test
endif