Project

General

Profile

Download (798 Bytes) Statistics
| Branch: | Tag: | Revision:
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEST=$$(pwd)/debian/foreman-installer

override_dh_auto_build:
# These hacks need to go...
type librarian-puppet >/dev/null 2>&1 || gem install librarian-puppet --no-ri --no-rdoc
ruby -rpuppet -etrue >/dev/null 2>&1 || gem install puppet --no-ri --no-rdoc
# This is the real bit
rake build PREFIX=/usr SBINDIR=/usr/sbin SYSCONFDIR=/etc KAFO_MODULES_DIR=/usr/lib/ruby/vendor_ruby/kafo/modules --trace

override_dh_auto_install:
# These hacks need to go...
type librarian-puppet >/dev/null 2>&1 || gem install librarian-puppet --no-ri --no-rdoc
ruby -rpuppet -etrue >/dev/null 2>&1 || gem install puppet --no-ri --no-rdoc
# This is the real bit
rake install PREFIX=${DEST}/usr SBINDIR=${DEST}/usr/sbin SYSCONFDIR=${DEST}/etc --trace

%:
dh $@
(6-6/6)