#!/usr/bin/make -f# -*- makefile -*-# Sample debian/rules that uses debhelper.# This file was originally written by Joey Hess and Craig Small.# As a special exception, when this file is copied by dh-make into a# dh-make output file, you may use that output file without restriction.# This special exception was added by Craig Small in version 0.37 of dh-make.# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1CFLAGS = -Wall -gifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))CFLAGS += -O0elseCFLAGS += -O2endifconfigure: configure-stampconfigure-stamp:dh_testdir# Add here commands to configure the package.touch configure-stampbuild: build-stampbuild-stamp: configure-stampdh_testdir# Add here commands to compile the package.$(MAKE)#docbook-to-man debian/i2c-tiny-usb.sgml > i2c-tiny-usb.1touch $@clean:dh_testdirdh_testrootrm -f build-stamp configure-stamp# Add here commands to clean up after the build process.-$(MAKE) cleandh_cleaninstall: builddh_testdirdh_testrootdh_clean -kdh_installdirs# Add here commands to install the package into debian/i2c-tiny-usb.$(MAKE) DESTDIR=$(CURDIR)/debian/i2c-tiny-usb install# Build architecture-independent files here.binary-indep: build install# We have nothing to do by default.# Build architecture-dependent files here.binary-arch: build installdh_testdirdh_testrootdh_installchangelogsdh_installdocsdh_installexamples# dh_install# dh_installmenu# dh_installdebconf# dh_installlogrotate# dh_installemacsen# dh_installpam# dh_installmime# dh_python# dh_installinit# dh_installcron# dh_installinfodh_installmandh_linkdh_stripdh_compressdh_fixperms# dh_perl# dh_makeshlibsdh_installdebdh_shlibdepsdh_gencontroldh_md5sumsdh_builddebbinary: binary-indep binary-arch.PHONY: build clean binary-indep binary-arch binary install configure