about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-07 11:57:05 +0200
committerarg@10ksloc.org <unknown>2006-08-07 11:57:05 +0200
commit66e16c92d315d11edadb9bafbf74926ae2c30fe3 (patch)
treeb4feb52a80f19999676a03e899a3d5e41b61568c /Makefile
parent6a8e176df103f406f81fff47d5ab456ccc867a0d (diff)
downloaddwm-66e16c92d315d11edadb9bafbf74926ae2c30fe3.tar.gz
applied Sanders man page/Makefile patch
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d3fc989..aebd21b 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ install: all
 	@chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
 	@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
 	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
-	@cp -f dwm.1 ${DESTDIR}${MANPREFIX}/man1
+	@sed 's/VERSION/${VERSION}/g' < dwm.1 ${DESTDIR}${MANPREFIX}/man1/dwm.1
 	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
 
 uninstall: