sm

sysmgr implemented in C
git clone git://git.ckyln.com/sm
Log | Files | Refs | README | LICENSE

commit 0ae1cc02ca18a9d47523fa5d52febeb1bca0bfb6
parent 57a9c70104bf6133e8a445e9a212ffa809a7ab06
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat, 10 Oct 2020 12:20:14 +0300

Makefile: add version information to manual pages

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -68,7 +68,7 @@ install: all for bin in ${BIN}; do chmod 755 ${DESTDIR}${BINDIR}/$${bin}; done for man in ${MAN}; do \ mkdir -p ${DESTDIR}${MANPREFIX}/man$${man##*.}; \ - cp $${man} ${DESTDIR}${MANPREFIX}/man$${man##*.}/$${man##*/}; \ + sed 's|VERSION|${VERSION}|' < $${man} > ${DESTDIR}${MANPREFIX}/man$${man##*.}/$${man##*/}; \ chmod 644 ${DESTDIR}${MANPREFIX}/man$${man##*.}/$${man##*/}; \ done