Commit Graph

4 Commits

Author SHA1 Message Date
Ralf Habacker
573f7aaa0b Add slot "equity-type" with value "opening-balance" to account templates
The slots are added by running `util/add-opening-balances` on the
gnucash sources.
2020-11-16 08:51:51 +01:00
Geert Janssens
0cfb40efeb CMake - use configure_file instead of file(COPY ) wherever possible
file(COPY ) will only trigger when the destination file doesn't exist yet.
It won't retrigger on source file changes.
configure_file on the other hand will. To avoid unwanted substitution
attempts this can be invoked with the COPYONLY keyword.
Disadvantage of configure_file is that it will only take one
input file where file(COPY ) can operate on a list of files.
As such the configure_file statement has to be wrapped in a foreach.

A few uses of file(COPY ) can't be replaced as they are setting
file permissions. And the one in make_dist has been kept as that
always operates on an empty directory, hence copying is guaranteed.

The former will monitor the file for updates and copy it again
the latter will only copy the file if it doesn't exist in the destination yet
2020-04-19 21:23:22 +02:00
Geert Janssens
f27cbd4a11 Fix dist after renaming account directory hu_HU to hu 2020-02-08 13:19:23 +01:00
Frank H. Ellenberger
3c6ad3ae82 L12N:hu Remove region code from account templates directory
There is no region specific file, but the language is also used in other
regions: https://hu.wikipedia.org/wiki/Magyar_nyelv
2020-01-07 13:47:50 +01:00