2
# Sample debian/rules that uses debhelper.
3
# This file is public domain software, originally written by Joey Hess.
5
# Uncomment this to turn on verbose mode.
8
export CFLAGS = -Wall -g
9
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
19
ln -sf /usr/share/misc/config.sub /usr/share/misc/config.guess .
20
./configure --prefix=/usr --mandir=/usr/share/man
30
[ ! -f Makefile ] || $(MAKE) distclean
31
rm -f config.sub config.guess
41
$(MAKE) install DESTDIR=$(CURDIR)/debian/pmidi
43
# Build architecture-independent files here.
44
binary-indep: build install
46
# Build architecture-dependent files here.
47
binary-arch: build install
50
dh_installchangelogs ChangeLog
63
binary: binary-indep binary-arch
64
.PHONY: build clean binary-indep binary-arch binary install
3
include /usr/share/cdbs/1/class/autotools.mk
4
include /usr/share/cdbs/1/rules/debhelper.mk