]> git.proxmox.com Git - redhat-cluster-pve.git/blame - debian/rules
update to latest STABLE32
[redhat-cluster-pve.git] / debian / rules
CommitLineData
3e8a6763
DM
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4#
5# This file was originally written by Joey Hess and Craig Small.
6# As a special exception, when this file is copied by dh-make into a
7# dh-make output file, you may use that output file without restriction.
8# This special exception was added by Craig Small in version 0.37 of dh-make.
9#
10# Modified to make a template file for a multi-binary package with separated
11# build-arch and build-indep targets by Bill Allombert 2001
12
13# Uncomment this to turn on verbose mode.
14#export DH_VERBOSE=1
15
16# This has to be exported to make some magic below work.
17export DH_OPTIONS
18
19BUILDROOT := $(shell pwd)
20
21%:
22 dh --with quilt $@
23
24override_dh_auto_configure:
25 ./configure --prefix=/usr \
26 --libexecdir=/usr/lib \
27 --disable_dbus \
70bc93ec 28 --kernel_src=/usr/src/linux-headers-2.6.32-19-pve/
3e8a6763
DM
29
30override_dh_auto_install:
31 $(MAKE) install DESTDIR=$(BUILDROOT)/debian/tmp/
32
fabb166e
DM
33 # we do not install upstream doc, instead we use
34 # dh_installdocs and dh_installexamples to copy files
3e8a6763
DM
35 rm -rf debian/tmp/usr/share/doc/cluster
36
37 dh_install --list-missing
38
fabb166e
DM
39 strip -s debian/tmp/usr/lib/lcrso/*.lcrso
40
41
3e8a6763
DM
42override_dh_shlibdeps:
43 dh_shlibdeps -a -- debian/tmp/usr/lib/lcrso/*.lcrso