summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rwxr-xr-xdoc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index b202fda0..e82542d1 100755
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -68,7 +68,8 @@ all: $(DOCS)
GROFF_BIN_PATH=$(groff_bin_path); \
export GROFF_BIN_PATH; \
sed -e "s;@VERSION@;$(version)$(revision);" $< \
- | $(GROFF) -P-I$< -P-D -Pimg -Thtml $(FFLAG) -U -ms >$@
+ | $(GROFF) -P-I`echo $< | sed -e 's|.ms$$||'` \
+ -P-D -Pimg -Thtml $(FFLAG) -U -ms >$@
.ms.ascii:
GROFF_TMAC_PATH=../tmac; \