Correct CMake distribution.

Remove deleted gnc-fq-helper.1 and gnc-fq-dump.1 doc dependencies.
Add csv-exp/test to Dist.

add csv-exp/test
This commit is contained in:
John Ralls 2023-04-29 13:28:09 -07:00
parent bb423e4484
commit 0ecafc93ed
3 changed files with 13 additions and 4 deletions

View File

@ -5,7 +5,7 @@ set(doc_DATA
)
set(doc_noinst_DATA
CMakeLists.txt gnc-fq-dump.1 gnc-fq-helper.1 gnucash.1.in
CMakeLists.txt gnucash.1.in
gnucash-cli.1.in tip_of_the_day.list.c README.txt)
install(FILES ${doc_DATA} DESTINATION ${CMAKE_INSTALL_DOCDIR})

View File

@ -49,5 +49,14 @@ install(TARGETS gnc-csv-export
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
# No headers to install.
set_dist_list (csv_export_DIST CMakeLists.txt
${csv_export_SOURCES} ${csv_export_noinst_HEADERS})
set_local_dist (csv_export_DIST_local
CMakeLists.txt
${csv_export_SOURCES}
${csv_export_noinst_HEADERS}
)
set (csv_export_DIST
${csv_export_DIST_local}
${test_csv_export_DIST}
PARENT_SCOPE
)

View File

@ -19,7 +19,7 @@ gnc_add_test (test-csv-export-helpers
test-csv-export-helpers_LIBS
)
set_dist_list (test-csv-export_DIST
set_dist_list (test_csv_export_DIST
CMakeLists.txt
${test-csv-export-helpers_SOURCES}
)