diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -32,7 +32,7 @@ clean: | |||
32 | dist: clean | 32 | dist: clean |
33 | @echo creating dist tarball | 33 | @echo creating dist tarball |
34 | @mkdir -p dmenu-${VERSION} | 34 | @mkdir -p dmenu-${VERSION} |
35 | @cp -R LICENSE Makefile README config.mk dmenu.1 dmenu.h ${SRC} dmenu-${VERSION} | 35 | @cp -R LICENSE Makefile README config.mk dmenu.1 dmenu.h dmenu_path ${SRC} dmenu-${VERSION} |
36 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} | 36 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} |
37 | @gzip dmenu-${VERSION}.tar | 37 | @gzip dmenu-${VERSION}.tar |
38 | @rm -rf dmenu-${VERSION} | 38 | @rm -rf dmenu-${VERSION} |
@@ -40,8 +40,9 @@ dist: clean | |||
40 | install: all | 40 | install: all |
41 | @echo installing executable file to ${DESTDIR}${PREFIX}/bin | 41 | @echo installing executable file to ${DESTDIR}${PREFIX}/bin |
42 | @mkdir -p ${DESTDIR}${PREFIX}/bin | 42 | @mkdir -p ${DESTDIR}${PREFIX}/bin |
43 | @cp -f dmenu ${DESTDIR}${PREFIX}/bin | 43 | @cp -f dmenu dmenu_path ${DESTDIR}${PREFIX}/bin |
44 | @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu | 44 | @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu |
45 | @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_path | ||
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 |
@@ -49,7 +50,7 @@ install: all | |||
49 | 50 | ||
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 | 53 | @rm -f ${DESTDIR}${PREFIX}/bin/dmenu ${DESTDIR}${PREFIX}/bin/dmenu_path |
53 | @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 | 54 | @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 |
54 | @rm -f ${DESTDIR}${MANPREFIX}/man1/dmenu.1 | 55 | @rm -f ${DESTDIR}${MANPREFIX}/man1/dmenu.1 |
55 | 56 | ||