>From 5e86f0915740f26389f16cbfa1868b34e00a1dc3 Mon Sep 17 00:00:00 2001 From: Aljosha Papsch Date: Sun, 24 Apr 2016 16:20:14 +0200 Subject: [PATCH 4/4] Install header files along with library. Previously header files were not included in automake configuration and wouldn't be installed by make install. Additionally, header files wouldn't be included in tarballs created with make dist. --- src/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 8182dd2..a3f920a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,3 +21,23 @@ save.c bin_PROGRAMS = gneural_network gneural_network_SOURCES = gneural_network.c gneural_network_LDADD = -lm libgneural_network.la + +gneuralincludedir = $(includedir)/gneural +gneuralinclude_HEADERS = activation.h\ +binom.h\ +defines.h\ +error.h\ +fact.h\ +feedforward.h\ +genetic_algorithm.h\ +gradient_descent.h\ +includes.h\ +load.h\ +msmco.h\ +parser.h\ +randomize.h\ +random_search.h\ +rnd.h\ +save.h\ +simulated_annealing.h\ +structures.h -- 2.8.0