aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-16 21:43:13 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-05-16 22:43:13 +0200
commit66ca7024fc2ad56ee2ddac44980c7f09bda54d80 (patch)
tree48cd9595f6ecf779b385497efc1d57ae1be49d77 /Makefile
parent66d7f9efac75a1920cdf152b9fcacc18adb059f9 (diff)
downloadvis-66ca7024fc2ad56ee2ddac44980c7f09bda54d80.tar.gz
vis-66ca7024fc2ad56ee2ddac44980c7f09bda54d80.tar.xz
vis: introduce vis-menu helper script
This serves as a wrapper around dmenu(1) and slmenu(1), by default the latter is preferred because it also works without an X server. The program and its default arguments can be configured by means of the $VIS_MENU and $VIS_MENU_ARGS environment variables. Eventually we might decide to inlcude a stripped down version of slmenu in the vis source tree.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a345647..985ebd6 100644
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,8 @@ install: vis
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f vis ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/vis
+ @cp -f vis-menu ${DESTDIR}${PREFIX}/bin
+ @chmod 755 ${DESTDIR}${PREFIX}/bin/vis-menu
@cp -f vis-open ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/vis-open
@cp -f vis-clipboard ${DESTDIR}${PREFIX}/bin