From 99b669968db1197463dd86394eaf628e8fe9a7c9 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sat, 7 Feb 2015 19:29:43 +0000 Subject: [PATCH] substitute @VERSION@ in stow.8 man page Thanks to Yue Du for spotting this issue and providing the fix. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index c686269..f406bf0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -144,9 +144,9 @@ lib/Stow.pm: lib/Stow.pm.in $(DEFAULT_IGNORE_LIST) Makefile # The below rules should only be needed by developers. ############################################################################## -doc/stow.8: bin/stow.in +doc/stow.8: bin/stow.in Makefile [ -d doc ] || mkdir doc # required in vpath mode - pod2man $< > $@ + $(edit) < $< | pod2man > $@ # We use automake's built-in rule to generate stow.info. The built-in # rules would also generate doc/stow.html and doc/stow.pdf, but after