#!/usr/bin/make -f # $Id$ %: dh $@ DEB_SHLIBDEPS_INCLUDE := debian/fancydb/usr/lib/libfancydb.so.1 DEB_DH_ALWAYS_EXCLUDE := .svn:debian-arch:debian-mingw DEB_INSTALL_DOCS_ALL := doc/LICENSE.txt doc/ReadMe.txt package = fancydb3 devpackage = fancydb3-dev mysqlpackage = fancydb3-mysql postgresqlpackage = fancydb3-postgresql docdir = debian/tmp/usr/share/doc/$(package) builddir = build/unix/release PKGROOT=$(shell pwd)/debian INSTALL_PROGRAM = install arch=$(DEB_HOST_GNU_TYPE) override_dh_strip: dh_strip -pfancydb3 --dbg-package=fancydb3-dbg dh_strip -pfancydb3-mysql --dbg-package=fancydb3-mysql-dbg dh_strip -pfancydb3-postgresql --dbg-package=fancydb3-postgresql-dbg override_dh_auto_build:: $(MAKE) -C $(builddir) arch=$(arch) clean:: rm -f common-install-arch common-build-arch rm -rf debian/$(package) debian/$(devpackage) debian/$(mysqlpackage) rm -rf *~ debian/*~ debian/files* debian/substvars $(MAKE) -C build/minx-64/debug clean $(MAKE) -C build/minx-64/release clean $(MAKE) -C build/unix/debug clean $(MAKE) -C build/unix/release clean $(MAKE) -C build/minx/debug clean $(MAKE) -C build/minx/release clean override_dh_auto_install:: rm -rf debian/$(package) debian/$(devpackage) $(MAKE) -C $(builddir)/fancydb arch=$(arch) DESTDIR=$(PKGROOT)/$(package) install-bin $(MAKE) -C $(builddir)/fancydb arch=$(arch) DESTDIR=$(PKGROOT)/$(devpackage) install-dev $(MAKE) -C $(builddir)/fancydbmysql arch=$(arch) DESTDIR=$(PKGROOT)/$(mysqlpackage) install-bin $(MAKE) -C $(builddir)/fancydbpostgresql arch=$(arch) DESTDIR=$(PKGROOT)/$(postgresqlpackage) install-bin