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

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk

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

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

debian/shelltest.1: debian/shelltest.md
	pandoc -s -w man $< -o $@

# Note: for now, the built man page is distributed, so that we don't
# need to build-depend on pandoc.

#clean::
#	rm -f debian/shelltest.1