#!/usr/bin/make -f # $Id$ include /usr/share/cdbs/1/rules/debhelper.mk prefix=/usr package = cute-headers script = $(target)-cute-headers docdir = debian/$(package)/usr/share/doc/$(package) DESTDIR = $(shell /bin/pwd)/debian/$(package) DEB_INSTALL_DOCS_ALL := src/lgpl.txt DEB_SHLIBDEPS_INCLUDE := DEB_DH_ALWAYS_EXCLUDE := .svn INSTALL_PROGRAM = install clean:: rm -f compile common-install-arch rm -rf *~ debian/$(package) debian/*~ debian/files* debian/substvars common-install-arch:: rm -rf debian/$(package) mkdir -p debian/$(package)/usr/include/cute mkdir -p debian/$(package)/usr/lib/pkgconfig install -m 644 src/*.h debian/$(package)/usr/include/cute sed -e 's%@_prefix_@%$(prefix)%g' -e 's/@_VERSION_@/$(DEB_UPSTREAM_VERSION)/g' < pc/cute-headers.pc.tmpl > debian/$(package)/usr/lib/pkgconfig/cute-headers.pc touch common-install-arch