File: rules

package info (click to toggle)
libsidplayfp 2.16.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 4,872 kB
  • sloc: cpp: 29,874; sh: 4,476; ansic: 986; makefile: 480; perl: 35
file content (27 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download | duplicates (3)
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
# -*- makefile -*-

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

DOCPKGDIR = $(CURDIR)/debian/libsidplayfp-doc

ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
	DEB_CONFIGURE_EXTRA_FLAGS += --enable-debug
endif

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	DEB_CONFIGURE_EXTRA_FLAGS += --enable-tests
endif

override_dh_auto_configure:
	dh_auto_configure -- --with-gcrypt $(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_auto_build:
	dh_auto_build
	$(MAKE) doc

%:
	dh $@

.PHONY: override_dh_auto_configure override_dh_auto_build