From d166be365c638937f529b7bf3dc3e771cefc12d2 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Fri, 13 Jan 2023 18:25:43 +0800 Subject: [PATCH] Sync version file and configure.ac --- Makefile.am | 4 ++-- configure.ac | 3 +++ version | 2 +- version.in | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 version.in diff --git a/Makefile.am b/Makefile.am index 55e5fd65..5a98bf22 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,6 @@ endif lsof_CPPFLAGS = -I$(DIALECT_PATH) -I$(top_srcdir)/autotools lsof_CPPFLAGS += -DAUTOTOOLS -lsof.man: Lsof.8 - soelim < $^ > $@ +lsof.man: Lsof.8 version 00DIALECTS + soelim < $< > $@ man8_MANS = lsof.man \ No newline at end of file diff --git a/configure.ac b/configure.ac index a8bd75ad..97b86971 100644 --- a/configure.ac +++ b/configure.ac @@ -329,6 +329,9 @@ AC_SUBST(sysinfo, $(uname -a)) # Generate version.h/autotools.h AC_CONFIG_FILES([autotools/version.h autotools/autotools.h]) +# Generate version +AC_CONFIG_FILES([version]) + # Generate config.h AC_CONFIG_HEADERS([config.h]) diff --git a/version b/version index 0830d6d5..4b23babd 100644 --- a/version +++ b/version @@ -1 +1 @@ -.ds VN 4.96.5 +.ds VN 4.96.6 diff --git a/version.in b/version.in new file mode 100644 index 00000000..5aaf5d65 --- /dev/null +++ b/version.in @@ -0,0 +1 @@ +.ds VN @PACKAGE_VERSION@ \ No newline at end of file