File: rules

package info (click to toggle)
pkg-haskell-tools 0.12.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 160 kB
  • sloc: haskell: 691; sh: 591; perl: 308; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 406 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DEB_DEFAULT_COMPILER = ghc

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

build/pkg-haskell-tools:: build-ghc-stamp debian/dht.1 debian/dht.html

debian/dht.html: dht scripts/*
	./dht --manpage | pandoc -f markdown -s -t html > $@

debian/dht.1: dht scripts/*
	./dht --manpage | pandoc -f markdown -s -t man > $@

clean::
	rm -f debian/dht.1