Blob Blame History Raw
From ca7e4a416ea8e30f9501b414552aad145e484553 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sat, 12 Jun 2010 15:08:28 +0400
Subject: [PATCH 09/13] Install more docs by default - also install *.html and *.pdf (if
 they exists at all).

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
 src/Makefile.in |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index 9a371a9..8f7bc66 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -250,9 +250,17 @@ install: all
 	#
 	# Documentation
 	install -d $(DOCDIR)
+	install -m 644 ../doc/dev.html $(DOCDIR)
+	install -m 644 ../doc/features.html $(DOCDIR)
 	install -m 644 ../doc/guide.html $(DOCDIR)
 	install -m 644 ../doc/*.png $(DOCDIR)
 	install -m 644 ../doc/*.txt $(DOCDIR)
+	[ -f ../doc/features.pdf ] \
+		&& install -m 644 ../doc/features.pdf $(DOCDIR) \
+		|| echo "No ../doc/features.pdf was built"
+	[ -f ../doc/guide.pdf ] \
+		&& install -m 644 ../doc/guide.pdf $(DOCDIR) \
+		|| echo "No ../doc/guide.pdf was built"
 
 uninstall: uninstall-binary
 
-- 
1.7.1.1