aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarg@10ksloc.org2006-08-07 11:58:23 +0200
committerarg@10ksloc.org2006-08-07 11:58:23 +0200
commit5146c3f27f730b3b37805c1f7b19bbebe312959f (patch)
treef69f03af1e9876a671973cfeb96558cfc8dce711
parent6a332a043a0674884dcb3b449628be3fb3a07017 (diff)
appliead Sanders manpage/Makefile pacth
-rw-r--r--Makefile2
-rw-r--r--dmenu.12
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fc8dcd2..d170037 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ install: all
@chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
- @cp -f dmenu.1 ${DESTDIR}${MANPREFIX}/man1
+ @sed 's/VERSION/${VERSION}/g' < dmenu.1 > ${DESTDIR}${MANPREFIX}/man1/dmenu.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dmenu.1
uninstall:
diff --git a/dmenu.1 b/dmenu.1
index f49dda9..3387c7a 100644
--- a/dmenu.1
+++ b/dmenu.1
@@ -1,4 +1,4 @@
-.TH DMENU 1 d-0.3
+.TH DMENU 1 dmenu-VERSION
.SH NAME
dmenu \- dynamic menu
.SH SYNOPSIS