Skip to content

Commit

Permalink
Fix date command in man page installation
Browse files Browse the repository at this point in the history
With a single $, make will try to expand it as a variable.
  • Loading branch information
michaelforney committed Nov 19, 2016
1 parent 8cdfd27 commit 4f206e0
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 %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
@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 4f206e0

Please sign in to comment.