fwupd/debian/rules

25 lines
587 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
#GPGME needs this for proper building on i386 and armhf
ifeq "$(DEB_BUILD_ARCH)" "i386"
export DEB_CFLAGS_MAINT_APPEND = -D_FILE_OFFSET_BITS=64
endif
ifeq "$(DEB_BUILD_ARCH)" "armhf"
export DEB_CFLAGS_MAINT_APPEND = -D_FILE_OFFSET_BITS=64
endif
%:
dh $@ --with autoreconf
override_dh_autoreconf:
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
override_dh_auto_configure:
dh_auto_configure -- --with-systemdunitdir=/lib/systemd/system \
--disable-colorhug
#Disabled for now.
#https://github.com/hughsie/fwupd/issues/14
override_dh_auto_test: