Skip to content

Commit

Permalink
Fix date format string in man pages
Browse files Browse the repository at this point in the history
%m is the decimal month value, not the day of the month.
  • Loading branch information
michaelforney committed Nov 19, 2016
1 parent 4f206e0 commit 33dce54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ install: vis vis-menu
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed -e "s/VERSION/${VERSION}/g" < vis.1 > ${DESTDIR}${MANPREFIX}/man1/vis.1
@sed -e "s/VERSION/${VERSION}/g" -e "s/MONTH DAY, YEAR/$$(date +'%B %m, %Y')/g" < vis-menu.1 > ${DESTDIR}${MANPREFIX}/man1/vis-menu.1
@sed -e "s/VERSION/${VERSION}/g" -e "s/MONTH DAY, YEAR/$$(date +'%B %m, %Y')/g" < vis-clipboard.1 > ${DESTDIR}${MANPREFIX}/man1/vis-clipboard.1
@sed -e "s/VERSION/${VERSION}/g" -e "s/MONTH DAY, YEAR/$$(date +'%B %m, %Y')/g" < vis-open.1 > ${DESTDIR}${MANPREFIX}/man1/vis-open.1
@sed -e "s/VERSION/${VERSION}/g" -e "s/MONTH DAY, YEAR/$$(date +'%B %e, %Y')/g" < vis-menu.1 > ${DESTDIR}${MANPREFIX}/man1/vis-menu.1
@sed -e "s/VERSION/${VERSION}/g" -e "s/MONTH DAY, YEAR/$$(date +'%B %e, %Y')/g" < vis-clipboard.1 > ${DESTDIR}${MANPREFIX}/man1/vis-clipboard.1
@sed -e "s/VERSION/${VERSION}/g" -e "s/MONTH DAY, YEAR/$$(date +'%B %e, %Y')/g" < vis-open.1 > ${DESTDIR}${MANPREFIX}/man1/vis-open.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/vis.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/vis-menu.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/vis-clipboard.1
Expand Down

0 comments on commit 33dce54

Please sign in to comment.