#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # The following file defines DEB_VERSION include /usr/share/dpkg/pkg-info.mk manpages = $(shell cat debian/manpages) %.1: %.pod pod2man -c 'Haskell devscripts documentation' -r 'Haskell devscripts $(DEB_VERSION)' $< > $@ %.1: % pod2man -c 'Haskell devscripts documentation' -r 'Haskell devscripts $(DEB_VERSION)' $< > $@ .PHONY: build build-indep: $(manpages) build-arch: build: build-arch build-indep install-stamp: dh install .PHONY: install install: install-stamp binary-indep-stamp: install-stamp dh binary-indep touch $@ .PHONY: binary-indep binary-indep: build-indep binary-indep-stamp .PHONY: binary-arch binary-arch: build-arch install-stamp .PHONY: binary binary: binary-indep-stamp .PHONY: clean clean: dh clean rm -f $(manpages)