Rev 40 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/usr/bin/make -fexport LIBTOOLIZE = libtoolize --installDEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)buildflags = --build=$(DEB_BUILD_GNU_TYPE)ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))buildflags += --host=$(DEB_HOST_GNU_TYPE)endifconfigure: configure-stampconfigure-stamp:dh_testdir[ -f debian/autoreconf.before ] || dh_autoreconf./configure $(buildflags) \--prefix=/usr \--without-zlib \--mandir=\$${prefix}/share/man \$(shell dpkg-buildflags --export=configure)touch configure-stampbuild-arch: buildbuild-indep:build: build-stampbuild-stamp: configure-stampdh_testdir$(MAKE)touch build-stampifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))$(MAKE) checkendifclean:dh_testdirdh_testroot# Stale build files[ ! -f Makefile ] || $(MAKE) distclean-rm -f build-stamp configure-stampdh_autoreconf_cleandh_clean libtool configureinstall: build-stampdh_testdirdh_testrootdh_prep$(MAKE) install DESTDIR=$(CURDIR)/debian/tmpbinary-indep:binary-arch: installdh_testdirdh_testrootdh_install --sourcedir=debian/tmpdh_installdocsdh_installexamplesdh_installmandh_installchangelogs ChangeLogdh_linkdh_stripdh_compressdh_fixpermsdh_makeshlibsdh_installdebdh_shlibdepsdh_gencontroldh_md5sumsdh_builddebbinary: binary-indep binary-arch.PHONY: build clean binary-indep binary-arch binary install configure