Skip to content

Commit

Permalink
Fix manpage version substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Feb 10, 2012
1 parent d0509fd commit 0673677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/manpages/man1/Makefile
Expand Up @@ -14,7 +14,7 @@ manpages: $(patsubst %.md,%.1.gz,$(wildcard $(PAGES)))
gzip < $< > $@

%.1: %.md
sed "s/@VERSION@/$(VERSION)/" $*.md | pandoc -s -w man -o $@
sed "s/\$${VERSION}/$(VERSION)/" $*.md | pandoc -s -w man -o $@

roff :
$(ECHO) Generating system man pages
Expand Down
2 changes: 1 addition & 1 deletion docs/en/manpages/man5/Makefile
Expand Up @@ -15,7 +15,7 @@ manpages: $(patsubst %.md,%.5.gz,$(wildcard $(PAGES)))
gzip < $< > $@

%.5: %.md
sed "s/@VERSION@/$(VERSION)/" $*.md | pandoc -s -w man -o $@
sed "s/\$${VERSION}/$(VERSION)/" $*.md | pandoc -s -w man -o $@

roff :
$(ECHO) Generating system man pages
Expand Down

0 comments on commit 0673677

Please sign in to comment.