mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-27 04:06:38 +00:00
autotools: make example build optional
This patch makes example build optional for autotools build system. In order to keep the former behavior, example build is enabled by default. Signed-off-by: Samuel Martin <s.martin49@gmail.com> [Retrieved (and slightly updated to remove CMakeLists.txt) from: https://git.buildroot.net/buildroot/tree/package/libnfc/0001-build-systems-make-example-build-optional.patch] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
@@ -2,7 +2,13 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
AM_CFLAGS = $(LIBNFC_CFLAGS)
|
||||
|
||||
SUBDIRS = libnfc utils examples include contrib cmake test
|
||||
SUBDIRS = libnfc utils
|
||||
|
||||
if EXAMPLE_ENABLED
|
||||
SUBDIRS += examples
|
||||
endif
|
||||
|
||||
SUBDIRS += include contrib cmake test
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libnfc.pc
|
||||
|
||||
Reference in New Issue
Block a user