aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2014-09-05 17:10:58 +0200
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2014-09-05 19:16:13 +0400
commit646b445515488cda8f25b38fca17064c13f33348 (patch)
treed16a3be8ebe778f238c5aacac467601454656ff3 /Makefile.in
parentTest MUC nick registration (diff)
allow guide not to be compiled for install
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 018ccd726..525879854 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -180,12 +180,16 @@ install: all
#
# Documentation
$(INSTALL) -d $(DOCDIR)
- $(INSTALL) -m 644 doc/dev.html $(DOCDIR)
- $(INSTALL) -m 644 doc/guide.html $(DOCDIR)
- $(INSTALL) -m 644 doc/*.png $(DOCDIR)
+ [ -f doc/dev.html ] \
+ && $(INSTALL) -m 644 doc/dev.html $(DOCDIR) \
+ || echo "No doc/dev.html was built"
+ [ -f doc/guide.html ] \
+ && $(INSTALL) -m 644 doc/guide.html $(DOCDIR) \
+ || echo "No doc/guide.html was built"
[ -f doc/guide.pdf ] \
&& $(INSTALL) -m 644 doc/guide.pdf $(DOCDIR) \
|| echo "No doc/guide.pdf was built"
+ $(INSTALL) -m 644 doc/*.png $(DOCDIR)
$(INSTALL) -m 644 COPYING $(DOCDIR)
uninstall: uninstall-binary