4
# Uncomment this to turn on verbose mode.
8
MAKEOPT = -C $(MAKEDIR)
13
include /usr/share/dpatch/dpatch.make
14
include debian/debian-vars.mk
17
# convert *.pod to manual page
18
$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) \
19
MANSECT=$(MANSECT) makeman
21
configure: configure-stamp
25
# Commands to configure the package.
30
build-stamp: configure-stamp patch man
33
# Commands to compile the package.
34
$(MAKE) $(MAKE_FLAGS) $(MAKEOPT)
41
rm -f build-stamp configure-stamp
43
# Commands to clean up after the build process.
44
[ ! Src/Makefile ] || $(MAKE) $(MAKEOPT) clean
46
rm -f debian/*.$(MANSECT)
56
# Add here commands to install the package into debian/wmfrog.
57
$(MAKE) $(MAKEOPT) install DESTDIR=$(CURDIR)/debian/wmfrog
59
# Build architecture-independent files here.
60
binary-indep: build install
61
# We have nothing to do.
63
# Build architecture-dependent files here.
64
binary-arch: build install
67
dh_installchangelogs CHANGES
80
dh_installman debian/*.$(MANSECT)
94
binary: binary-indep binary-arch
95
.PHONY: build clean binary-indep binary-arch binary install configure man