diff options
| author | Tim Allen <screwtape@froup.com> | 2016-05-28 17:18:36 +1000 |
|---|---|---|
| committer | Tim Allen <screwtape@froup.com> | 2016-05-28 17:44:39 +1000 |
| commit | 14f841ec25622a0c19f3547f165ea6a3ca426e4e (patch) | |
| tree | eb47ff8745ce2ac10bc624b0a79a62837bb2a8a0 /Makefile | |
| parent | f67a3577c98d38bb8fee998f3e0890650b435195 (diff) | |
| download | vis-14f841ec25622a0c19f3547f165ea6a3ca426e4e.tar.gz vis-14f841ec25622a0c19f3547f165ea6a3ca426e4e.tar.xz | |
[vis-menu] Add a manpage.
Unlike the existing vis(1) manpage, this uses the `mdoc` macro set
because it's (very slightly) more modern, and OpenBSD only supports
`mdoc` while everybody else supports both.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -94,8 +94,10 @@ install: vis vis-menu } @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 @mkdir -p ${DESTDIR}${MANPREFIX}/man1 - @sed "s/VERSION/${VERSION}/g" < vis.1 > ${DESTDIR}${MANPREFIX}/man1/vis.1 + @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 @chmod 644 ${DESTDIR}${MANPREFIX}/man1/vis.1 + @chmod 644 ${DESTDIR}${MANPREFIX}/man1/vis-menu.1 uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin |
