2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
5
# Uncomment this to turn on verbose mode.
10
export INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
11
export INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
12
export INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755
13
export INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755
15
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
20
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
25
configure: configure-stamp
30
build: configure-stamp build-stamp
40
rm -f build-stamp configure-stamp
50
# Add here commands to install the package into debian/dsh.
51
$(MAKE) install DESTDIR=$(CURDIR)/debian/cowdancer
53
# Build architecture-independent files here.
54
binary-indep: build install
55
# We have nothing to do by default.
57
# Build architecture-dependent files here.
58
binary-arch: build install
65
dh_installchangelogs ChangeLog
76
binary: binary-indep binary-arch
77
.PHONY: build clean binary-indep binary-arch binary install configure