From 0a132b0eb539fa284c5f1fdcbe871067aad74ef8 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Sun, 12 Oct 2014 23:21:48 -0400 Subject: [PATCH] doc: Unlink docs from the rest of the build process. Since generated man pages are also included, we can't guarantee proper timestamps. This should fix issues that trigger doc building when it isn't needed. Signed-off-by: Loui Chang --- README.md | 2 +- build/Makefile | 2 +- cfg/targets/install.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 07f396e..699e7ae 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Toxic is a [Tox](https://tox.im)-based instant messenging client which formerly ##### Documentation * [Asciidoc](http://asciidoc.org/index.html) (only required for regenerating manpages) - * Run `make doc` after editing the asciidoc files to regenerate the manpages. + * Run `make doc` in the build directory after editing the asciidoc files to regenerate the manpages. * **NOTE FOR DEVELOPERS**: asciidoc files and generated manpages will need to be commited together. ### Compiling diff --git a/build/Makefile b/build/Makefile index 672f711..df197c3 100644 --- a/build/Makefile +++ b/build/Makefile @@ -46,7 +46,7 @@ endif -include $(CFG_DIR)/checks/check_features.mk # Targets -all: toxic doc +all: toxic toxic: $(OBJ) @echo " LD $@" diff --git a/cfg/targets/install.mk b/cfg/targets/install.mk index c011cb0..715b6f9 100644 --- a/cfg/targets/install.mk +++ b/cfg/targets/install.mk @@ -1,5 +1,5 @@ # Install target -install: toxic doc +install: toxic mkdir -p $(abspath $(DESTDIR)/$(BINDIR)) mkdir -p $(abspath $(DESTDIR)/$(DATADIR)) mkdir -p $(abspath $(DESTDIR)/$(DATADIR))/sounds