Skip to content

Commit

Permalink
docs: add document attributes to manpages (sstephenson#219)
Browse files Browse the repository at this point in the history
docs: add document attributes to manpages
  • Loading branch information
sublimino authored Jul 7, 2019
2 parents c92480b + d9d2b1d commit c6722da
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
19 changes: 16 additions & 3 deletions man/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
RONN := ronn
# Makefile
#
# bats-core manpages
#
RONN := ronn -W
PAGES := bats.1 bats.7
ORG := bats-core
MANUAL := 'Bash Automated Testing System'
ISOFMT := $(shell date -I)
RM := rm -f

.PHONY: all clean

all: $(PAGES)

bats.1: bats.1.ronn
$(RONN) -r $<
$(RONN) --date=$(ISOFMT) --manual=$(MANUAL) --organization=$(ORG) --roff $<

bats.7: bats.7.ronn
$(RONN) -r $<
$(RONN) --date=$(ISOFMT) --manual=$(MANUAL) --organization=$(ORG) --roff $<

clean:
$(RM) $(PAGES)
2 changes: 1 addition & 1 deletion man/bats.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "BATS" "1" "July 2018" "" ""
.TH "BATS" "1" "May 2019" "bats-core" "Bash Automated Testing System"
.
.SH "NAME"
\fBbats\fR \- Bash Automated Testing System
Expand Down
2 changes: 1 addition & 1 deletion man/bats.7
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "BATS" "7" "November 2013" "" ""
.TH "BATS" "7" "May 2019" "bats-core" "Bash Automated Testing System"
.
.SH "NAME"
\fBbats\fR \- Bats test file format
Expand Down

0 comments on commit c6722da

Please sign in to comment.