Rev 63 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/usr/bin/make -f## To build the packages, run `dpkg-buildpackage' or `debuild' from the# parent directory of this file. (You may need to specify the `-rfakeroot'# option if you are using dpkg-buildpackage and are not running as root)## Copyright © 1999, 2000, 2001, 2002 Timshel Knoll <timshel@debian.org># Copyright © 2008, 2009, 2010, 2012 Magnus Holmgren <holmgren@debian.org># Licensed under the terms of the GNU General Public License## Based originally on Sample debian/rules that uses debhelper, from dh-make,# GNU copyright 1997 to 1999 by Joey Hess.# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1# These are used for cross-compiling and for saving the configure script# from having to guess our platform (since we know it already)DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))buildflags := --build=$(DEB_BUILD_GNU_TYPE)elsebuildflags := --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)endifbuildflags += $(shell dpkg-buildflags --export=configure)configure: configure-stampconfigure-stamp:dh_testdir[ -f debian/autoreconf.before ] || dh_autoreconf./configure --prefix=/usr $(buildflags) \--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)touch $@build: build-archbuild-indep:build-arch: build-stampbuild-stamp: configure-stampdh_testdir$(MAKE)touch $@clean:dh_testdirdh_testrootrm -f build-stamp configure-stamp[ ! -f Makefile ] || $(MAKE) distcleandh_autoreconf_cleandh_cleaninstall: builddh_testdirdh_testrootdh_prep$(MAKE) install DESTDIR=$(CURDIR)/debian/tmpbinary-indep:dh_testdirdh_testrootdh_install -idh_installdocs -idh_installman -idh_installinfo -idh_installchangelogs -idh_link -idh_compress -i -Xliboop-doc/htmldh_fixperms -idh_installdeb -idh_gencontrol -idh_md5sums -idh_builddeb -ibinary-arch: installdh_testdirdh_testrootdh_install -adh_installdocs -adh_installman -adh_installinfo -adh_installchangelogs -adh_link -adh_strip -a --dbgsym-migration='liboop-dbg (<< 1.0.1-2~)'dh_compress -a -Xliboop-doc/htmldh_fixperms -adh_makeshlibs -adh_installdeb -a# Don't add the depends for adapter libraries - programs which link# with them will also link with the appropriate librarydh_shlibdeps -a -Xliboop-dh_gencontrol -adh_md5sums -adh_builddeb -abinary: binary-indep binary-arch.PHONY: configure build build-arch build-indep install.PHONY: binary-indep binary-arch binary clean