From 403690a49879f7e6666d6cb0fa5cefc981080d40 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 28 Sep 2010 16:05:53 +0200 Subject: Only install the guide.html files when it was compiled (EJAB-1311) --- src/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Makefile.in b/src/Makefile.in index 019fb7c38..f03f7fae8 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -248,9 +248,11 @@ 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/guide.html ] \ + && install -m 644 ../doc/dev.html $(DOCDIR) \ + && install -m 644 ../doc/guide.html $(DOCDIR) \ + && install -m 644 ../doc/*.png $(DOCDIR) \ + || echo "No ../doc/guide.html was built" install -m 644 ../doc/*.txt $(DOCDIR) [ -f ../doc/guide.pdf ] \ && install -m 644 ../doc/guide.pdf $(DOCDIR) \ -- cgit v1.2.3