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