aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3910080..3869f4d 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ clean:
32dist: clean 32dist: 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
40install: all 40install: 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
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 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