blob: 974e10f9b4218b2dae3cb6b9d5f7e9234c4275c6 [file] [log] [blame]
#
# Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or (at
# your option) any later version.
#
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
SUBDIRS = include src bindings
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libgpiod.pc
if WITH_TESTS
SUBDIRS += tests
endif
if HAS_DOXYGEN
doc:
@(cat Doxyfile; \
echo PROJECT_NUMBER = $(VERSION_STR); \
echo INPUT += bindings/cxx/gpiod.hpp) | doxygen -
.PHONY: doc
EXTRA_DIST = Doxyfile
endif