--- Makefile.orig 2007-12-11 22:57:57.000000000 +0200
+++ Makefile 2007-12-11 22:58:58.000000000 +0200
@@ -10,7 +10,7 @@
SRCCLIENT = awesome-client.c awesome-client-common.c util.c
OBJCLIENT = ${SRCCLIENT:.c=.o}
-all: options awesome awesome-client
+all: options awesome awesome-client man
options:
@echo awesome build options:
@@ -64,19 +64,19 @@
install: strip install-unstrip
-install-unstrip: awesome awesome-client man
+install-unstrip: awesome awesome-client
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@install -d ${DESTDIR}${PREFIX}/bin
@install -m 755 awesome awesome-client ${DESTDIR}${PREFIX}/bin
- @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
- @install -d ${DESTDIR}${MANPREFIX}/man1
- @install -m 644 ${DOCS:.txt=} ${DESTDIR}${MANPREFIX}/man1
+ @echo installing manual page to ${DESTDIR}${MANPREFIX}/man/man1
+ @install -d ${DESTDIR}${MANPREFIX}/man/man1
+ @install -m 644 ${DOCS:.txt=} ${DESTDIR}${MANPREFIX}/man/man1
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
@rm ${DESTDIR}${PREFIX}/bin/awesome ${DESTDIR}${PREFIX}/bin/awesome-client
- @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
- @rm ${DESTDIR}${MANPREFIX}/man1/awesome.1 ${DESTDIR}${MANPREFIX}/man1/awesome-client.1
+ @echo removing manual page from ${DESTDIR}${MANPREFIX}/man/man1
+ @rm ${DESTDIR}${MANPREFIX}/man/man1/awesome.1 ${DESTDIR}${MANPREFIX}/man/man1/awesome-client.1
doc:
@echo generating documentation
syntax highlighted by Code2HTML, v. 0.9.1