Revision 72e3d66a
Added by Greg Sutcliffe almost 10 years ago
debian/precise/foreman-installer/rules | ||
---|---|---|
|
||
override_dh_auto_build:
|
||
# These hacks need to go...
|
||
type librarian-puppet >/dev/null 2>&1 || gem install librarian-puppet --no-ri --no-rdoc
|
||
type librarian-puppet >/dev/null 2>&1 || gem install librarian-puppet -v '=1.0.3' --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
|
||
type librarian-puppet >/dev/null 2>&1 || gem install librarian-puppet -v '=1.0.3' --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
|
Also available in: Unified diff
Pin librarian on as it's now 1.9 only