Skip to content

Commit 38991a6

Browse files
author
Oleksandr Motsak
committed
FIX: some generated sources should NOT be distributed(factory: cplusplus.h factory.h factoryconf.h)
1 parent 756b140 commit 38991a6

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

factory/Makefile.am

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ endif
9797
libfactory_la_SOURCES = $(SOURCES)
9898
libfactory_g_la_SOURCES = $(SOURCES)
9999

100+
nodist_libfactory_la_SOURCES = cplusplus.h factory.h factoryconf.h
101+
nodist_libfactory_g_la_SOURCES = cplusplus.h factory.h factoryconf.h
102+
103+
100104
# factory header files
101105
factory_headers = \
102106
cf_assert.h \
@@ -172,8 +176,9 @@ noinst_HEADERS = $(factory_headers)
172176
libfactory_includedir=$(includedir)/factory
173177

174178
nobase_libfactory_include_HEADERS = \
175-
cplusplus.h factory.h factoryconf.h \
176-
cf_gmp.h $(templateincl)
179+
cf_gmp.h $(templateincl)
180+
181+
nodist_libfactory_include_HEADERS = cplusplus.h factory.h factoryconf.h
177182

178183

179184
####################################################
@@ -302,7 +307,7 @@ CLEANFILES = $(BUILT_SOURCES)
302307
cplusplus_SOURCES = cplusplus.cc
303308

304309
cplusplus.h: cplusplus
305-
${builddir}/cplusplus > ${builddir}/cplusplus.h
310+
${abs_builddir}/cplusplus > ${abs_builddir}/cplusplus.h
306311

307312
.template.h:
308313
${srcdir}/bin/makeheader $< $@

0 commit comments

Comments
 (0)