diff options
| author | Badlop <badlop@process-one.net> | 2010-09-28 16:05:53 +0200 |
|---|---|---|
| committer | Badlop <badlop@process-one.net> | 2010-09-28 16:06:32 +0200 |
| commit | 403690a49879f7e6666d6cb0fa5cefc981080d40 (patch) | |
| tree | da8848a2fe4e4d3257c5b6a38539babb750a1d20 /src | |
| parent | Move the extract_translations code to the tools dir (EJAB-1311) (diff) | |
Only install the guide.html files when it was compiled (EJAB-1311)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
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) \ |
