File: rules

package info (click to toggle)
yuma123 2.9-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 19,352 kB
  • ctags: 13,998
  • sloc: ansic: 175,269; cpp: 10,968; makefile: 725; python: 657; sh: 623; xml: 567; perl: 70
file content (27 lines) | stat: -rwxr-xr-x 702 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

LIB_VERSION = 2

%:
	dh $@ --with autotools-dev,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 \
	  -pnetconfd-module-ietf-interfaces \
	  -pnetconfd-module-ietf-system

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