]> git.armaanb.net Git - dmenu.git/commitdiff
appliead Sanders manpage/Makefile pacth
authorarg@10ksloc.org <unknown>
Mon, 7 Aug 2006 09:58:23 +0000 (11:58 +0200)
committerarg@10ksloc.org <unknown>
Mon, 7 Aug 2006 09:58:23 +0000 (11:58 +0200)
Makefile
dmenu.1

index fc8dcd2690dc1772ae617eff958f4dd527041f7d..d170037280d1be65f84d31b9b5291a187f8f3529 100644 (file)
--- 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 f49dda9e3390b585501da3e0b82d7e8f58514e61..3387c7acdc464206d3b94265b57a7bb02e623f59 100644 (file)
--- 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