rendered paste body#!/usr/bin/make -f# Sample debian/rules that uses debhelper.# GNU copyright 1997 to 1999 by Joey Hess.# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1CFLAGS = -Wall -gifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0else CFLAGS += -O2endififeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -sendifconfigure: configure-stampconfigure-stamp: dh_testdir # Add here commands to configure the package. ./configure --prefix=/usr --libdir=\$${prefix}/lib/bristol touch configure-stamppatch: patch-stamppatch-stamp: dpatch apply-all touch patch-stampunpatch: dpatch deapply-all rm -rf patch-stamp debian/patched build: patch build-stampbuild-stamp: configure-stamp dh_testdir # Add here commands to compile the package. $(MAKE) touch build-stampclean: unpatch dh_testdir dh_testroot rm -f build-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_cleaninstall: build dh_testdir dh_testroot dh_clean -k $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install #Not sure what's up with everything being executable? find $(CURDIR)/debian/tmp/usr/share/ -type f |xargs chmod -x# Build architecture-independent files here.binary-indep: build install# We have nothing to do by default.# Build architecture-dependent files here.binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_install dh_installmenu# dh_installdebconf # dh_installlogrotate# dh_installemacsen# dh_installpam# dh_installmime# dh_installinit# dh_installcron# dh_installinfo dh_installman debian/bristol.1 dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddebbinary: binary-indep binary-arch.PHONY: build clean binary-indep binary-arch binary install configure