#!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk DEB_SHLIBDEPS_INCLUDE := debian/fancydb/usr/lib/libfancydb.so.1 DEB_DH_ALWAYS_EXCLUDE := .svn:debian-arch:debian-mingw package = fancydb1 devpackage = fancydb1-dev docdir = debian/tmp/usr/share/doc/$(package) builddir = build/unix/release PKGROOT=$(shell pwd)/debian INSTALL_PROGRAM = install common-build-arch:: cd $(builddir) && $(MAKE) #cd $(dbgbuilddir) && $(MAKE) touch common-build-arch clean:: rm -f common-install-arch common-build-arch rm -rf debian/$(package) debian/$(devpackage) 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 common-install-arch:: rm -rf debian/$(package) debian/$(devpackage) cd $(builddir) && $(MAKE) install-bin DESTDIR=$(PKGROOT)/$(package) cd $(builddir) && $(MAKE) install-dev DESTDIR=$(PKGROOT)/$(devpackage) touch common-install-arch