#!/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-indep:debian-mingw DEB_INSTALL_DOCS_ALL := doc/LICENSE.txt package = fancylog1-mingw docdir = debian/tmp/usr/share/doc/$(package) w64builddir = build/minx-64/release # do not strip anything. # call 'strip' on a mingw lib*.a file causes the ranlib information to # be discarded rendering the libraries useless. DEB_DH_STRIP_ARGS := -Xw64-mingw32 INSTALL_PROGRAM = install PKGROOT=$(shell pwd)/debian common-build-indep:: cd $(w64builddir) && $(MAKE) arch="x86_64-w64-mingw32" touch common-build-indep clean:: rm -f common-install-indep common-build-indep rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars $(MAKE) -C build/minx-64/debug arch="x86_64-w64-mingw32" clean $(MAKE) -C build/minx-64/release arch="x86_64-w64-mingw32" clean $(MAKE) -C build/unix/debug clean $(MAKE) -C build/unix/release clean common-install-indep:: rm -rf debian/tmp mkdir debian/tmp cd $(w64builddir) && $(MAKE) arch="x86_64-w64-mingw32" DESTDIR=$(PKGROOT)/tmp install touch common-install-indep