aboutsummaryrefslogtreecommitdiffstats
path: root/doc/user-guide/Makefile
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-06 00:21:02 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-06 00:21:02 +0100
commitb308cf9bafbdf76da73a57607b65c4763aa3057b (patch)
treec686906b479a0edd52b18a213e1d420f7343855d /doc/user-guide/Makefile
parent3ab1d317831a6c1830bb648a1a8d63a41c92f651 (diff)
parente774815bc621af90bb64ca314b84367659c5a005 (diff)
Merging libpurple branch into killerbee. It's fairly usable already, and
Debian packaging is now properly separated. This also picks up a load of stuff from mainline it seems.
Diffstat (limited to 'doc/user-guide/Makefile')
-rw-r--r--doc/user-guide/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/user-guide/Makefile b/doc/user-guide/Makefile
index 9841de8d..2a80ea6c 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
@@ -37,7 +41,7 @@ install:
mkdir -p $(DESTDIR)$(DATADIR)
chmod 0755 $(DESTDIR)$(DATADIR)
rm -f $(DESTDIR)$(DATADIR)/help.txt # Prevent help function from breaking in running sessions
- install -m 0644 help.txt $(DESTDIR)$(DATADIR)/help.txt
+ install -m 0644 $(SRCDIR)help.txt $(DESTDIR)$(DATADIR)/help.txt
uninstall:
rm -f $(DESTDIR)$(DATADIR)/help.txt