# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
configure: configure-stamp
# Add here commands to configure the package.
build-stamp: configure-stamp
# Add here commands to compile the package.
#docbook-to-man debian/beremiz.sgml > beremiz.1
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
# Add here commands to install the package into debian/beremiz.
mkdir -p $(CURDIR)/debian/beremiz/usr/share/beremiz
mkdir -p $(CURDIR)/debian/beremiz/usr/share/applications
cp -a images $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a plugins $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a runtime $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a tests $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a connectors $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a targets $(CURDIR)/debian/beremiz/usr/share/beremiz
cp *.xml $(CURDIR)/debian/beremiz/usr/share/beremiz
cp *.py $(CURDIR)/debian/beremiz/usr/share/beremiz
cp debian/beremiz.desktop $(CURDIR)/debian/beremiz/usr/share/applications/beremiz.desktop
rm -rf `find .|grep .cvsignore`
chmod -R a+r $(CURDIR)/debian/beremiz
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure