From 930218c318e224ec011154abfbc353ba9a0a662f Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Fri, 21 Jul 2023 21:37:39 +0200 Subject: src/Makefile.am: make sure that the auto-generated rda_supported_technologies.h header file does not appear in dist tarballs. --- src/Makefile.am | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 55e477b..e0ac275 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,6 @@ BUILT_SOURCES += $(st_file) librdaincludedir = $(includedir)/rda librdainclude_HEADERS = \ - rda_supported_technologies.h \ rda_ogon.h \ rda_protocol.h \ rda_util.h \ @@ -27,6 +26,10 @@ librdainclude_HEADERS = \ rda.h \ $(NULL) +nodist_librdainclude_HEADERS = \ + $(st_file) \ + $(NULL) + librda_la_SOURCES = \ rda.c \ rda_x2go.c \ @@ -53,8 +56,10 @@ INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) if HAVE_INTROSPECTION -introspection_sources = $(librdainclude_HEADERS) \ - $(librda_la_SOURCES) \ +introspection_sources = \ + $(librdainclude_HEADERS) \ + $(nodist_librdainclude_HEADERS) \ + $(librda_la_SOURCES) \ $(NULL) rda-1.0.gir: librda.la -- cgit v1.2.3 From eec735037cdc6b2f6f18430c6614c7bbc2887f0c Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Fri, 21 Jul 2023 21:38:37 +0200 Subject: util/Makefile.am: add object-dir-based src directory to include path for VPATH builds. --- util/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/util/Makefile.am b/util/Makefile.am index 8d1d792..6414939 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -13,6 +13,7 @@ rdacheck_CFLAGS = \ -Wall -Werror \ $(LIBRDA_CFLAGS) \ -I$(top_srcdir)/src/ \ + -I../src \ -DBUILD_DIR="\"$(builddir)\"" \ $(NULL) -- cgit v1.2.3