#!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk version=6.7.4-1 package = xpkg-imagemagick prefix = /usr docdir = debian/$(package)/usr/share/doc/$(package) builddir = build DESTDIR = $(shell /bin/pwd)/debian/$(package) #DEB_INSTALL_DOCS_ALL := src/README DEB_SHLIBDEPS_INCLUDE := DEB_DH_ALWAYS_EXCLUDE := .svn #DEB_DH_STRIP_ARGS := -Xlib #INSTALL_PROGRAM = install common-build-arch:: rm -rf $(builddir) mkdir $(builddir) cd $(builddir) && ../ImageMagick-$(version)/configure --prefix=$(prefix) cd $(builddir) && make touch common-build-arch clean:: rm -f compile common-install-arch common-build-arch rm -rf *~ debian/$(package) debian/*~ debian/files* debian/substvars rm -rf $(builddir) common-install-arch:: rm -rf debian/$(package) mkdir debian/$(package) cd $(builddir) && make DESTDIR=$(DESTDIR) install touch common-install-arch