File: rules

package info (click to toggle)
shelltestrunner 1.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 812 kB
  • sloc: haskell: 759; makefile: 10; sh: 1
file content (21 lines) | stat: -rwxr-xr-x 551 bytes parent folder | download | duplicates (4)
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