From 7dc6c47df588650819cdcf37c0ee18d9890a12ee Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 23 Jan 2021 12:45:12 +0100 Subject: [PATCH] config.h should not be distributed or installed somewhere, because it is generated locally during the build process. --- src/include/ngspice/Makefile.am | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/include/ngspice/Makefile.am b/src/include/ngspice/Makefile.am index 5b6af544c..cbd2718ed 100644 --- a/src/include/ngspice/Makefile.am +++ b/src/include/ngspice/Makefile.am @@ -1,9 +1,10 @@ ## Process this file with automake to produce Makefile.in -nodist_pkginclude_HEADERS = \ - config.h +nodist_include_HEADERS = \ + config.h \ + config.h.in -pkginclude_HEADERS = \ +noinst_HEADERS = \ tclspice.h \ acdefs.h \ bdrydefs.h \ @@ -129,4 +130,9 @@ pkginclude_HEADERS = \ wincolornames.h \ wstdio.h +if SHARED_MODULE +pkginclude_HEADERS = \ + sharedspice.h +endif SHARED_MODULE + MAINTAINERCLEANFILES = Makefile.in