forked from ossobv/bcg729-deb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules
executable file
·33 lines (24 loc) · 792 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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
# Uncomment this to change the hardening options
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@ --parallel \
--with autotools-dev --with autoreconf \
--buildsystem=autoconf
override_dh_auto_clean:
# Make sure README exists for Makefile.am DIST_COMMON files.
# See also autogen.sh.
touch ChangeLog README
dh_auto_clean
override_dh_autoreconf:
dh_autoreconf -- ./autogen.sh
override_dh_auto_configure:
dh_auto_configure -- --enable-static --enable-shared
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
override_dh_strip:
dh_strip -plibbcg729-0 --dbg-package=libbcg729-0-dbg