mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-06 11:22:55 +08:00
9c741c09a1
Solution: import and adapt Debian's packaging code from https://packages.debian.org/source/unstable/zeromq3 As noted in packaging/debian/copyright, these files are licensed under the LGPL2+ and the copyright belongs to the authors listed in the same file.
38 lines
730 B
Makefile
Executable File
38 lines
730 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
export TEST_VERBOSE=1
|
|
|
|
ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd)
|
|
DO_TEST = no
|
|
endif
|
|
|
|
override_dh_clean:
|
|
dh_clean
|
|
find $(CURDIR) -type s -exec rm {} \;
|
|
rm -f $(CURDIR)/doc/*.xml $(CURDIR)/doc/*.3 $(CURDIR)/doc/*.7
|
|
rm -f config.log
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- --with-pgm --with-libsodium
|
|
|
|
override_dh_auto_test:
|
|
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|
ifneq ($(DO_TEST), no)
|
|
-dh_auto_test -- VERBOSE=1
|
|
else
|
|
-dh_auto_test -- VERBOSE=1
|
|
endif
|
|
endif
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=libzmq5-dbg
|
|
|
|
%:
|
|
dh $@ --with=autoreconf --parallel
|
|
|
|
.PHONY: override_dh_auto_configure override_dh_strip
|