#!/usr/bin/make -f # $Id$ include /usr/share/cdbs/1/rules/debhelper.mk DEB_SHLIBDEPS_INCLUDE := debian/tmp/usr/sbin/fancywrap DEB_DH_ALWAYS_EXCLUDE := .svn:debian-arch:debian-mingw DEB_INSTALL_DOCS_ALL := doc/LICENSE.txt package = fancylog1 devpackage = fancylog1-dev docdir = debian/tmp/usr/share/doc/$(package) builddir = build/unix/release INSTALL_PROGRAM = install PKGROOT=$(shell pwd)/debian # for armhf, works for i386 & amd64 too arch=$(DEB_HOST_GNU_TYPE) common-build-arch:: $(MAKE) -C $(builddir) arch=$(arch) touch common-build-arch clean:: rm -f common-install-arch common-build-arch rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars rm -rf $(PKGROOT)/$(package) $(PKGROOT)/$(devpackage) $(MAKE) -C build/minx-64/release clean $(MAKE) -C build/minx-64/debug clean $(MAKE) -C build/unix/debug clean $(MAKE) -C build/unix/release clean common-install-arch:: rm -rf $(PKGROOT)/$(package) $(PKGROOT)/$(devpackage) mkdir -p $(PKGROOT)/$(package) $(PKGROOT)/$(devpackage) $(MAKE) -C $(builddir) arch=$(arch) DESTDIR=$(PKGROOT)/$(package) install-bin $(MAKE) -C $(builddir) arch=$(arch) DESTDIR=$(PKGROOT)/$(devpackage) install-dev touch common-install-arch