File: rules

package info (click to toggle)
yuma123 2.14-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,436 kB
  • sloc: ansic: 185,144; cpp: 10,968; python: 7,990; sh: 2,676; makefile: 1,175; xml: 807; exp: 776; perl: 70
file content (34 lines) | stat: -rwxr-xr-x 812 bytes parent folder | download
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
#!/usr/bin/make -f
#export DH_VERBOSE=1

LIB_VERSION = 2t64

%:
	dh $@ --with autoreconf


override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
	  --with-persistent-directory=/var/lib/yuma \
	  --enable-shared --with-cflags="$(CFLAGS)" \
	  --with-ldflags="$(LDFLAGS)"

override_dh_installdocs:
	dh_installdocs  -plibyuma-base
	dh_installdocs  -plibyuma$(LIB_VERSION)
	dh_installdocs --link-doc=libyuma$(LIB_VERSION) \
	  -plibyuma-dev \
	  -pnetconfd \
	  -pyangcli \
	  -pyangdump \
	  -plibyangrpc$(LIB_VERSION) \
	  -plibyangrpc-dev \
	  -pnetconfd-module-ietf-interfaces \
	  -pnetconfd-module-ietf-system

override_dh_makeshlibs:
	dh_makeshlibs -Xhelloworld -Xtoaster -Xietf-interfaces -Xietf-system

override_dh_clean:
	dh_autoreconf_clean
	dh_clean