--- a/Makefile Mon Aug 07 11:10:19 2006 +0200
+++ b/Makefile Mon Aug 07 11:57:05 2006 +0200
@@ -50,7 +50,7 @@
@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:
--- a/dwm.1 Mon Aug 07 11:10:19 2006 +0200
+++ b/dwm.1 Mon Aug 07 11:57:05 2006 +0200
@@ -1,4 +1,4 @@
-.TH DWM 1 dwm-0.7
+.TH DWM 1 dwm-VERSION
.SH NAME
dwm \- dynamic window manager
.SH SYNOPSIS