From 3efdce5abead7cc234d0ebf25abec5984d9eec2a Mon Sep 17 00:00:00 2001 From: nirenjan Date: Sun, 1 Aug 2021 23:56:37 -0700 Subject: [PATCH] Fix make distcheck --- Makefile.am | 2 ++ daemon/Makefile.am | 1 + docs/Makefile.am | 10 ++++++++++ libx52/Makefile.am | 6 ------ 4 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 docs/Makefile.am diff --git a/Makefile.am b/Makefile.am index 964852c..d697046 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,6 +41,8 @@ include evtest/Makefile.am include daemon/Makefile.am include udev/Makefile.am +include docs/Makefile.am + ####################################################################### # Doxygen support ####################################################################### diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 81fa1f4..0c67ef0 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -36,6 +36,7 @@ x52dconfdir = @sysconfdir@/x52d x52dconf_DATA = daemon/x52d.conf EXTRA_DIST += \ + daemon/daemon.dox \ daemon/x52d_clock.h \ daemon/x52d_config.def \ daemon/x52d_config.h \ diff --git a/docs/Makefile.am b/docs/Makefile.am new file mode 100644 index 0000000..baf0162 --- /dev/null +++ b/docs/Makefile.am @@ -0,0 +1,10 @@ +# Automake for documentation +# +# Copyright (C) 2021 Nirenjan Krishnan (nirenjan@nirenjan.org) +# +# SPDX-License-Identifier: GPL-2.0-only WITH Classpath-exception-2.0 + +EXTRA_DIST += \ + docs/main.dox \ + docs/caveats.dox \ + docs/integration.dox diff --git a/libx52/Makefile.am b/libx52/Makefile.am index 3166c68..f1209c9 100644 --- a/libx52/Makefile.am +++ b/libx52/Makefile.am @@ -59,9 +59,3 @@ EXTRA_DIST += \ # Add test files to the distribution EXTRA_DIST += libx52/x52_test_gen.py libx52/x52_tests.json - -# Add documentation files to the distribution -EXTRA_DIST += \ - libx52/doc/main.dox \ - libx52/doc/caveats.dox \ - libx52/doc/integration.dox