| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
DOCPKGDIR = $(CURDIR)/debian/libsidplayfp-doc |
| 8 |
|
| 9 |
ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) |
| 10 |
DEB_CONFIGURE_EXTRA_FLAGS += --enable-debug |
| 11 |
endif |
| 12 |
|
| 13 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 14 |
DEB_CONFIGURE_EXTRA_FLAGS += --enable-tests |
| 15 |
endif |
| 16 |
|
| 17 |
override_dh_auto_configure: |
| 18 |
dh_auto_configure -- --with-gcrypt $(DEB_CONFIGURE_EXTRA_FLAGS) |
| 19 |
|
| 20 |
override_dh_auto_build: |
| 21 |
dh_auto_build |
| 22 |
$(MAKE) doc |
| 23 |
|
| 24 |
%: |
| 25 |
dh $@ |
| 26 |
|
| 27 |
.PHONY: override_dh_auto_configure override_dh_auto_build |