From 65bdfaf22bbc526e26aee78d86052535332af16f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Sun, 18 Sep 2016 13:54:02 -0400 Subject: [PATCH] autotools: fix 'make dist' --- Makefile.am | 2 +- python/Makefile.am | 4 ++++ src/Makefile.am | 3 +++ src/argon2/Makefile.am | 12 +++++++++++- tools/Makefile.am | 1 + 5 files changed, 20 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8e4e6045..a8835d8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,7 @@ ACLOCAL_AMFLAGS = -I m4 DOC_FILES = \ README.md \ - LICENSE + COPYING EXTRA_DIST = \ $(DOC_FILES) diff --git a/python/Makefile.am b/python/Makefile.am index c854b90a..7f256620 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -1,5 +1,9 @@ if USE_CYTHON +noinst_HEADERS = \ + opendht.pyx \ + opendht_cpp.pxd + PYTHON_INSTALL_RECORD = $(builddir)/install_record.txt pybuild.stamp: diff --git a/src/Makefile.am b/src/Makefile.am index e1cc7556..92affd08 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -47,3 +47,6 @@ nobase_include_HEADERS = \ ../include/opendht/log.h \ ../include/opendht/rng.h \ ../include/opendht/indexation/pht.h + +nobase_noinst_HEADERS = \ + ../include/opendht/request.h diff --git a/src/argon2/Makefile.am b/src/argon2/Makefile.am index 7048fffd..de389ef7 100644 --- a/src/argon2/Makefile.am +++ b/src/argon2/Makefile.am @@ -10,4 +10,14 @@ libargon2_la_SOURCES = \ encoding.c \ ref.c -EXTRA_libargon2_la_SOURCES = opt.c +noinst_HEADERS = \ + argon2.h \ + core.h \ + blake2/blake2.h \ + blake2/blake2-impl.h \ + blake2/blamka-round-ref.h \ + blake2/blamka-round-opt.h \ + thread.h \ + encoding.h \ + opt.h \ + ref.h diff --git a/tools/Makefile.am b/tools/Makefile.am index e461480f..25b1184b 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,4 +1,5 @@ bin_PROGRAMS = dhtnode dhtchat dhtscanner +noinst_HEADERS = tools_common.h AM_CPPFLAGS = -I../include -- GitLab