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 29 30 31 32 33
|
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/oprf/noiseXK/karmel \
-I/usr/include/oprf/noiseXK/karmel/minimal -I/usr/include/oprf \
-I/usr/include/oprf/noiseXK -DWITH_SODIUM -D_BSD_SOURCE -D_DEFAULT_SOURCE \
-std=c11
export DEB_LDFLAGS_MAINT_APPEND = -loprf -lsodium
export PYBUILD_SYSTEM=distutils
export PYBUILD_DIR=python
%:
dh $@
execute_after_dh_auto_build:
$(MAKE) -C man
override_dh_auto_install:
dh_auto_install --sourcedirectory=python --buildsystem=pybuild
dh_auto_install --sourcedirectory=. -- PREFIX=/usr
# FIXME typo in upstream makefile : test vs tests
# override 'sh -e' in order not to fail on first failing test:
# sh ./test.sh
# leading - : ignore exit code
override_dh_auto_test:
-cd test; sh ./test.sh
execute_after_dh_auto_clean:
$(MAKE) -C man clean
|