diff options
author | anselm@anselm1 <unknown> | 2007-12-22 12:20:20 +0000 |
---|---|---|
committer | anselm@anselm1 <unknown> | 2007-12-22 12:20:20 +0000 |
commit | d8688f7a4fe734b827cac3c156cae0db5aa4d740 (patch) | |
tree | 0fe01909fe51bdff2f704244793912a07fff09ba | |
parent | 09d0926bb96989304646c4b4e0c51031a85dc2a2 (diff) |
added dmenu run
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | config.mk | 2 | ||||
-rwxr-xr-x | dmenu_run | 2 |
3 files changed, 7 insertions, 3 deletions
@@ -31,7 +31,7 @@ clean: | |||
31 | dist: clean | 31 | dist: clean |
32 | @echo creating dist tarball | 32 | @echo creating dist tarball |
33 | @mkdir -p dmenu-${VERSION} | 33 | @mkdir -p dmenu-${VERSION} |
34 | @cp -R LICENSE Makefile README config.mk dmenu.1 config.h dmenu_path ${SRC} dmenu-${VERSION} | 34 | @cp -R LICENSE Makefile README config.mk dmenu.1 config.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION} |
35 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} | 35 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} |
36 | @gzip dmenu-${VERSION}.tar | 36 | @gzip dmenu-${VERSION}.tar |
37 | @rm -rf dmenu-${VERSION} | 37 | @rm -rf dmenu-${VERSION} |
@@ -39,9 +39,10 @@ dist: clean | |||
39 | install: all | 39 | install: all |
40 | @echo installing executable file to ${DESTDIR}${PREFIX}/bin | 40 | @echo installing executable file to ${DESTDIR}${PREFIX}/bin |
41 | @mkdir -p ${DESTDIR}${PREFIX}/bin | 41 | @mkdir -p ${DESTDIR}${PREFIX}/bin |
42 | @cp -f dmenu dmenu_path ${DESTDIR}${PREFIX}/bin | 42 | @cp -f dmenu dmenu_path dmenu_run ${DESTDIR}${PREFIX}/bin |
43 | @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu | 43 | @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu |
44 | @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_path | 44 | @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_path |
45 | @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_run | ||
45 | @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 | 46 | @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 |
46 | @mkdir -p ${DESTDIR}${MANPREFIX}/man1 | 47 | @mkdir -p ${DESTDIR}${MANPREFIX}/man1 |
47 | @sed "s/VERSION/${VERSION}/g" < dmenu.1 > ${DESTDIR}${MANPREFIX}/man1/dmenu.1 | 48 | @sed "s/VERSION/${VERSION}/g" < dmenu.1 > ${DESTDIR}${MANPREFIX}/man1/dmenu.1 |
@@ -50,6 +51,7 @@ install: all | |||
50 | uninstall: | 51 | uninstall: |
51 | @echo removing executable file from ${DESTDIR}${PREFIX}/bin | 52 | @echo removing executable file from ${DESTDIR}${PREFIX}/bin |
52 | @rm -f ${DESTDIR}${PREFIX}/bin/dmenu ${DESTDIR}${PREFIX}/bin/dmenu_path | 53 | @rm -f ${DESTDIR}${PREFIX}/bin/dmenu ${DESTDIR}${PREFIX}/bin/dmenu_path |
54 | @rm -f ${DESTDIR}${PREFIX}/bin/dmenu ${DESTDIR}${PREFIX}/bin/dmenu_run | ||
53 | @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 | 55 | @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 |
54 | @rm -f ${DESTDIR}${MANPREFIX}/man1/dmenu.1 | 56 | @rm -f ${DESTDIR}${MANPREFIX}/man1/dmenu.1 |
55 | 57 | ||
@@ -1,5 +1,5 @@ | |||
1 | # dmenu version | 1 | # dmenu version |
2 | VERSION = 3.4 | 2 | VERSION = 3.5 |
3 | 3 | ||
4 | # Customize below to fit your system | 4 | # Customize below to fit your system |
5 | 5 | ||
diff --git a/dmenu_run b/dmenu_run new file mode 100755 index 0000000..1cecc16 --- /dev/null +++ b/dmenu_run | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | exe=`dmenu_path | dmenu $*` && exec $exe | ||