File: rules

package info (click to toggle)
libnfo 1.0.1-1.1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 340 kB
  • ctags: 382
  • sloc: ansic: 1,801; sh: 777; makefile: 246
file content (28 lines) | stat: -rwxr-xr-x 549 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

CONFIGURE_OPTS = --prefix=/usr --enable-pic --disable-strip --enable-doc

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CONFIGURE_OPTS += --disable-optimize
else
        CONFIGURE_OPTS += 
endif

%:
	dh $@

override_dh_auto_clean:
	touch config.mak
	dh_auto_clean

override_dh_auto_configure:
	./configure $(CONFIGURE_OPTS)

override_dh_strip:
	dh_strip --dbg-package=libnfo1-dbg

.PHONY: override_dh_auto_configure override_dh_strip