#!/usr/bin/make -f # # $Id$ # include /usr/share/cdbs/1/rules/debhelper.mk DEB_DH_ALWAYS_EXCLUDE := .svn:debian/tmp srcname = siredit srcdir = $(shell pwd)/src package = siredit target = siredit SRCDIR = $(shell /bin/pwd)/src DESTDIR = $(shell /bin/pwd)/debian/$(package) DEB_INSTALL_DOCS_ALL := doc/LICENSE.txt doc/ReadMe.txt INSTALL_PROGRAM = install VERSION=$(shell /usr/share/pba-cbs/sh/get_deb_version.sh $(srcdir)) clean:: cd debian && rm -rf *.subvars *.log siredit rm -f common-install-indep common-install-indep:: mkdir -p debian/tmp cd $(DESTDIR) && mkdir -pv etc/init.d/ cd $(SRCDIR)/init.d && cp siredit-fs $(DESTDIR)/etc/init.d/ cd $(DESTDIR) && mkdir -p usr/bin cd $(SRCDIR)/bin && cp sir* $(DESTDIR)/usr/bin/ chmod -R 0755 $(DESTDIR) touch common-install-indep