File: rules

package info (click to toggle)
arbtt 0.10.2-0.2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 628 kB
  • sloc: haskell: 3,469; xml: 2,087; makefile: 33
file content (19 lines) | stat: -rwxr-xr-x 457 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f


# Standard way of building Haskell libraries .
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk

clean ::
	make -C doc clean

doc/users_guide:
	make -C doc

build/$(CABAL_PACKAGE) :: build-ghc-stamp doc/users_guide

install/$(CABAL_PACKAGE) :: build/$(CABAL_PACKAGE)
	$(DEB_SETUP_BIN_NAME) copy --builddir=dist-ghc --destdir=debian/$(CABAL_PACKAGE)
	rm -rf debian/$(CABAL_PACKAGE)/usr/share/doc