libx52/Makefile.am

45 lines
870 B
Makefile

# Top level Automake for x52pro-linux
#
# Copyright (C) 2012-2018 Nirenjan Krishnan (nirenjan@nirenjan.org)
#
# SPDX-License-Identifier: GPL-2.0-only WITH Classpath-exception-2.0
ACLOCAL_AMFLAGS = -I m4
if USE_NLS
po_SUBDIRS = po
endif
SUBDIRS = $(po_SUBDIRS) lib utils tests
# Extra files that need to be in the distribution
EXTRA_DIST = \
ABOUT-NLS \
AUTHORS \
ChangeLog.md \
Doxyfile.in \
LICENSE \
README.md \
config.rpath \
gettext.h \
po/README.md
# Doxygen support
if HAVE_DOXYGEN
DXGEN = $(DXGEN_$(V))
DXGEN_ = $(DXGEN_$(AM_DEFAULT_VERBOSITY))
DXGEN_0 = @printf " DXGEN $<\n";
docs/.stamp: Doxyfile
$(DXGEN)$(DOXYGEN) $<
$(AM_V_at)touch $@
CLEANFILES = docs
all-local: docs/.stamp
clean-local:
rm -rf $(top_builddir)/docs
install-data-local:
$(INSTALL) -d $(DESTDIR)$(docdir)
rsync -a $(top_builddir)/docs/html $(DESTDIR)$(docdir)
endif