forked from bloomberg/comdb2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrules
executable file
·45 lines (29 loc) · 926 Bytes
/
rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/make -f
# -*- makefile -*-
export PREFIX=/opt/bb
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
debian/comdb2.build-stamp:
touch debian/comdb2.build-stamp
debian/comdb2.install-stamp: debian/comdb2.build-stamp
mkdir -p debian/comdb2/opt/bb/bin
DESTDIR=debian/comdb2 PREFIX=/opt/bb make -j4 install
touch debian/comdb2.install-stamp
debian/comdb2.binary-stamp: debian/comdb2.install-stamp
mkdir -p debian/comdb2/DEBIAN
dpkg-gencontrol -pcomdb2 -Pdebian/comdb2
cp debian/postinst debian/comdb2/DEBIAN/
dpkg-deb -b debian/comdb2 ../
touch debian/comdb2.binary-stamp
debian/comdb2.clean:
make clean
clean: debian/comdb2.clean
rm -rf debian/comdb2
rm -f debian/files debian/files.ignore debian/comdb2.*
test:
build: build-arch build-indep
build-indep:
build-arch: debian/comdb2.build-stamp
binary: binary-arch binary-indep
binary-indep:
binary-arch: debian/comdb2.binary-stamp