aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-25 23:26:54 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-25 23:26:54 +0100
commitf60079b74053a53da3720b992c603fddf75ff1dd (patch)
tree4625c2054e6d4a5cff6f938a4b00cf01fe735900 /doc
parent51a799ef9c2a144bf3edc58130bfc1e275cdd53f (diff)
Allow one to run the configure script from a different directory and put all
build files in there. I need this to properly make Debian package variants (i.e. libpurple and native).
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile3
-rw-r--r--doc/user-guide/Makefile4
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 9b473df3..aeebd901 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,4 +1,7 @@
-include ../Makefile.settings
+ifdef SRCDIR
+SRCDIR := $(SRCDIR)doc/
+endif
all:
# Only build the docs if this is a bzr checkout
diff --git a/doc/user-guide/Makefile b/doc/user-guide/Makefile
index 9841de8d..eaf2a5ff 100644
--- a/doc/user-guide/Makefile
+++ b/doc/user-guide/Makefile
@@ -1,4 +1,8 @@
-include ../../Makefile.settings
+ifdef SRCDIR
+SRCDIR := $(SRCDIR)doc/user-guide/
+endif
+
EXTRAPARANEWLINE = 1
# EXTRAPARANEWLINE = 0