aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dac3b6e..8c0aa39 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ clean:
31dist: clean 31dist: 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
39install: all 39install: 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
50uninstall: 51uninstall:
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