Dynamically generate dates for man page file

This commit is contained in:
Takeshi Nakatani
2022-02-23 01:42:02 +00:00
committed by Andrew Gaul
parent 232ff28cc7
commit 5452e9cb10
3 changed files with 16 additions and 2 deletions

View File

@ -310,10 +310,19 @@ AC_COMPILE_IFELSE(
]
)
dnl ----------------------------------------------
dnl build date
dnl ----------------------------------------------
AC_SUBST([MAN_PAGE_DATE], [$(date +"%B %Y")])
dnl ----------------------------------------------
dnl output files
dnl ----------------------------------------------
AC_CONFIG_FILES(Makefile src/Makefile test/Makefile doc/Makefile)
AC_CONFIG_FILES(Makefile
src/Makefile
test/Makefile
doc/Makefile
doc/man/s3fs.1)
dnl ----------------------------------------------
dnl short commit hash