From 61d8e58b52fa4af8b2665ea6141768e46d3a2bcd Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 16 Dec 2023 19:22:52 -0500 Subject: org, spine ver & doc header (copyright & license) - org import: reuse settings in another org file using code block to evaluate other org file spine_version_info_and_doc_header_including_copyright_and_license.org --- org/config_d_cfte.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'org/config_d_cfte.org') diff --git a/org/config_d_cfte.org b/org/config_d_cfte.org index bf77456..c112b54 100644 --- a/org/config_d_cfte.org +++ b/org/config_d_cfte.org @@ -21,13 +21,14 @@ ** program version: version.txt -*** set program version SET VERSION :version:set:project: +*** spine project VERSION (major, minor, patch) :version:set:project: - comma separated numbers: major, minor, patch -#+NAME: spine_version_set -#+BEGIN_SRC d -0, 14, 0 +#+NAME: spine_version_mmp +#+HEADER: :noweb yes +#+BEGIN_SRC emacs-lisp +<<./spine_version_info_and_doc_header_including_copyright_and_license.org:spine_project_version_major_minor_patch()>> #+END_SRC *** set program version tangle :version: @@ -41,7 +42,7 @@ struct Version { int minor; int patch; } -enum _ver = Version(<>); +enum _ver = Version(<>); <> #+END_SRC -- cgit v1.2.3