From d18cac85719e10a34f108cc0b4315dfff845bd29 Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 25 Jun 2024 01:11:47 +0000 Subject: [PATCH] add version info to doc git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@428 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Document/Makefile | 2 ++ Document/{index.md => index.tmpl.md} | 4 +++- Document/{indexjp.md => indexjp.tmpl.md} | 4 +++- Makefiles/common-decl.mk | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) rename Document/{index.md => index.tmpl.md} (77%) rename Document/{indexjp.md => indexjp.tmpl.md} (77%) diff --git a/Document/Makefile b/Document/Makefile index 7f01818..e118bf2 100644 --- a/Document/Makefile +++ b/Document/Makefile @@ -4,9 +4,11 @@ all: document README.DOC document: + sed "s/@VERSION@/$(VERSION)/g" index.tmpl.md > index.md doxygen document-jp: + sed "s/@VERSION@/$(VERSION)/g" indexjp.tmpl.md > indexjp.md doxygen Doxyfile-JP README.DOC: ../Tool/docfmt README.FMT diff --git a/Document/index.md b/Document/index.tmpl.md similarity index 77% rename from Document/index.md rename to Document/index.tmpl.md index e312d84..c0801a7 100644 --- a/Document/index.md +++ b/Document/index.tmpl.md @@ -2,9 +2,11 @@ **DataWorks** is a general-purpose and platform independent database library/client. +This document was generated for DataWorks @VERSION@. + ## License -**DataWorks** is free software, and sources are published under 3-clause BSD License by Crabware. +**DataWorks** is free software, and sources are published under 3-clause BSD License by Crabware/pnsk-lab. Crabware is a software-development division of Hinode Gakuen PC-Club. Contact: Nishi <nishi@nishi.boats> diff --git a/Document/indexjp.md b/Document/indexjp.tmpl.md similarity index 77% rename from Document/indexjp.md rename to Document/indexjp.tmpl.md index e312d84..c0801a7 100644 --- a/Document/indexjp.md +++ b/Document/indexjp.tmpl.md @@ -2,9 +2,11 @@ **DataWorks** is a general-purpose and platform independent database library/client. +This document was generated for DataWorks @VERSION@. + ## License -**DataWorks** is free software, and sources are published under 3-clause BSD License by Crabware. +**DataWorks** is free software, and sources are published under 3-clause BSD License by Crabware/pnsk-lab. Crabware is a software-development division of Hinode Gakuen PC-Club. Contact: Nishi <nishi@nishi.boats> diff --git a/Makefiles/common-decl.mk b/Makefiles/common-decl.mk index 7b3f494..2f4fe12 100644 --- a/Makefiles/common-decl.mk +++ b/Makefiles/common-decl.mk @@ -35,4 +35,4 @@ RCLI_MODULE = tcpip.o MD5SUM = md5sum VERSION = `cat Library/dataworks.c | grep " dataworks_version " | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?'` -COMPILE_FLAGS = CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" LIB_PREFIX="$(LIB_PREFIX)" LIB_SUFFIX="$(LIB_SUFFIX)" EXEC_SUFFIX="$(EXEC_SUFFIX)" PLATFORM_M="$(PLATFORM_M)" PLATFORM_P="$(PLATFORM_P)" STATICLIB_PREFIX="$(STATICLIB_PREFIX)" STATICLIB_SUFFIX="$(STATICLIB_SUFFIX)" AR="$(AR)" RANLIB="$(RANLIB)" SHCC="$(SHCC)" LINK_LIB="$(LINK_LIB)" AR_ARGS="$(AR_ARGS)" WINDRES="$(WINDRES)" YACC="$(YACC)" LEX="$(LEX)" LFLAGS="$(LFLAGS)" YFLAGS="$(YFLAGS)" SERVER_MODULE="$(SERVER_MODULE)" SERVLINK_LIB="$(SERVLINK_LIB)" RCLI_MODULE="$(RCLI_MODULE)" RCLILINK_LIB="$(RCLILINK_LIB)" INDEP="$(INDEP)" INDEP_TO="$(INDEP_TO)" PIC="$(PIC)" +COMPILE_FLAGS = CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" LIB_PREFIX="$(LIB_PREFIX)" LIB_SUFFIX="$(LIB_SUFFIX)" EXEC_SUFFIX="$(EXEC_SUFFIX)" PLATFORM_M="$(PLATFORM_M)" PLATFORM_P="$(PLATFORM_P)" STATICLIB_PREFIX="$(STATICLIB_PREFIX)" STATICLIB_SUFFIX="$(STATICLIB_SUFFIX)" AR="$(AR)" RANLIB="$(RANLIB)" SHCC="$(SHCC)" LINK_LIB="$(LINK_LIB)" AR_ARGS="$(AR_ARGS)" WINDRES="$(WINDRES)" YACC="$(YACC)" LEX="$(LEX)" LFLAGS="$(LFLAGS)" YFLAGS="$(YFLAGS)" SERVER_MODULE="$(SERVER_MODULE)" SERVLINK_LIB="$(SERVLINK_LIB)" RCLI_MODULE="$(RCLI_MODULE)" RCLILINK_LIB="$(RCLILINK_LIB)" INDEP="$(INDEP)" INDEP_TO="$(INDEP_TO)" PIC="$(PIC)" VERSION="$(VERSION)" -- 2.43.0