diff --git a/libgnucash/quotes/CMakeLists.txt b/libgnucash/quotes/CMakeLists.txt index 966b38a69a..b33569d396 100644 --- a/libgnucash/quotes/CMakeLists.txt +++ b/libgnucash/quotes/CMakeLists.txt @@ -1,6 +1,6 @@ set(_BIN_FILES "") -foreach(file gnc-fq-check.in gnc-fq-helper.in gnc-fq-update.in gnc-fq-dump) +foreach(file gnc-fq-check.in gnc-fq-helper.in gnc-fq-update.in gnc-fq-dump.in) string(REPLACE ".in" "" _OUTPUT_FILE_NAME ${file}) set(_ABS_OUTPUT_FILE ${BINDIR_BUILD}/${_OUTPUT_FILE_NAME}) configure_file( ${file} ${_ABS_OUTPUT_FILE} @ONLY) @@ -26,4 +26,4 @@ add_custom_target(quotes-bin ALL DEPENDS ${_BIN_FILES}) install(FILES ${_MAN_FILES} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) install(PROGRAMS ${_BIN_FILES} DESTINATION ${CMAKE_INSTALL_BINDIR}) -set_dist_list(quotes_DIST CMakeLists.txt gnc-fq-check.in gnc-fq-dump gnc-fq-helper.in gnc-fq-update.in Quote_example.pl README) +set_dist_list(quotes_DIST CMakeLists.txt gnc-fq-check.in gnc-fq-dump.in gnc-fq-helper.in gnc-fq-update.in Quote_example.pl README) diff --git a/libgnucash/quotes/README b/libgnucash/quotes/README index 9b56df81ab..44c8fcc119 100644 --- a/libgnucash/quotes/README +++ b/libgnucash/quotes/README @@ -8,11 +8,11 @@ gnc-fq-check.in: gnucash to determine if Finance::Quote is installed properly. The responses is a scheme form. -gnc-fq-dump: +gnc-fq-dump.in: - A perl script that retrieves a quote from Finance::Quote and dumps - the response to the terminal. Its useful for determining problems - with F::Q. + Source file for gnc-fq-dump which is a perl script that retrieves + a quote from Finance::Quote and dumps the response to the terminal. + Its useful for determining problems with F::Q. gnc-fq-helper.in: diff --git a/libgnucash/quotes/gnc-fq-dump b/libgnucash/quotes/gnc-fq-dump.in similarity index 99% rename from libgnucash/quotes/gnc-fq-dump rename to libgnucash/quotes/gnc-fq-dump.in index e87e55cc70..8362b51f55 100755 --- a/libgnucash/quotes/gnc-fq-dump +++ b/libgnucash/quotes/gnc-fq-dump.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!@PERL@ -w # # Copyright (C) 2003, David Hampton #