diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2011-12-29 11:57:36 +0200 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2011-12-29 11:57:36 +0200 |
| commit | b845d459cb5f44271e761d4424c636994c5f6074 (patch) | |
| tree | ac4b736f803d41877acf9f4ad5fecca8ba76efea /Makefile | |
| parent | 02c92849fee2ad5878a8ac4538eedd65b8613f70 (diff) | |
install and remove the manual on install/uninstall
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -49,12 +49,14 @@ clean: install: all @echo installing executable file to ${DESTDIR}${PREFIX}/bin - @mkdir -p ${DESTDIR}${PREFIX}/bin - @cp -f ${WMNAME} ${DESTDIR}${PREFIX}/bin - @chmod 755 ${DESTDIR}${PREFIX}/bin/${WMNAME} + @install -Dm755 ${WMNAME} ${DESTDIR}${PREFIX}/bin/${WMNAME} + @echo installing manual page to ${DESTDIR}${MANPREFIX}/man.1 + @install -Dm644 ${WMNAME}.1 ${DESTDIR}${MANPREFIX}/man1/${WMNAME}.1 uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin @rm -f ${DESTDIR}${PREFIX}/bin/${WMNAME} + @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 + @rm -f ${DESTDIR}${MANPREFIX}/man1/${WMNAME}.1 .PHONY: all options clean install uninstall |
