]>
Commit | Line | Data |
---|---|---|
60d3f066 DM |
1 | #!/usr/bin/make -f |
2 | # -*- makefile -*- | |
3 | # Sample debian/rules that uses debhelper. | |
4 | # This file was originally written by Joey Hess and Craig Small. | |
5 | # As a special exception, when this file is copied by dh-make into a | |
6 | # dh-make output file, you may use that output file without restriction. | |
7 | # This special exception was added by Craig Small in version 0.37 of dh-make. | |
8 | ||
9 | # Uncomment this to turn on verbose mode. | |
10 | #export DH_VERBOSE=1 | |
11 | ||
6aebf69b DM |
12 | BUILDROOT := $(shell pwd) |
13 | RADIR=$(BUILDROOT)/debian/resource-agents-pve/usr/share/cluster | |
14 | ||
60d3f066 DM |
15 | %: |
16 | dh $@ | |
17 | ||
18 | override_dh_auto_configure: | |
19 | ./configure \ | |
20 | --prefix=/usr \ | |
21 | --localstatedir=/var \ | |
22 | --with-ras-set=rgmanager \ | |
23 | --sysconfdir=/etc | |
6aebf69b DM |
24 | |
25 | override_dh_auto_install: | |
26 | $(MAKE) install DESTDIR=$(BUILDROOT)/debian/resource-agents-pve | |
27 | # drbd files are in package drbd8-utils | |
28 | rm $(RADIR)/drbd.metadata | |
29 | rm $(RADIR)/drbd.sh |