Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #6 from joergsteffens/joergs/travis
Browse files Browse the repository at this point in the history
CI check using travis
  • Loading branch information
joergsteffens committed Feb 5, 2014
2 parents 4441025 + 2a99f28 commit d3bb854
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .travis.yml
@@ -0,0 +1,11 @@
cache: apt

before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq make texlive-latex-extra tex4ht imagemagick

script:
- make pdf
- make check
- make html
- make check
12 changes: 12 additions & 0 deletions Makefile
@@ -0,0 +1,12 @@

subdirs = manuals/en/main/

MAKE=make

depend:
@for I in ${subdirs}; \
do (cd $$I; echo "==>Entering directory `pwd`"; $(MAKE) $@ || exit 1); done

%:
@for I in ${subdirs}; \
do (cd $$I; echo "==>Entering directory `pwd`"; $(MAKE) $@ || exit 1); done
5 changes: 5 additions & 0 deletions manuals/en/main/Makefile
Expand Up @@ -15,6 +15,8 @@ INDEXES = bareos-manual-main-reference.console.ind \
bareos-manual-main-reference.sd.ind \
bareos-manual-main-reference.monitor.ind

LOG = bareos-manual-main-reference.log

all: pdf html

depend:
Expand Down Expand Up @@ -49,6 +51,9 @@ bareos-manual-main-reference.pdf: depend *.sty *.tex $(INDEXES) bareos-manual-ma
$(PDFLATEX) bareos-manual-main-reference.tex
$(PDFLATEX) bareos-manual-main-reference.tex

check: bareos-manual-main-reference.pdf
@if ! grep "LaTeX Warning: Hyper reference .* undefined on input\|LaTeX Warning: There were undefined references." $(LOG); then true; else false; fi

clean:
rm -f *.aux *.dvi *.idx *.log *.out *.pdf *.toc *.4ct *.4tc *.idv *.lg *.tmp *.xref html/* bareos-manual-main-reference.html bareos-manual-main-reference.css
@for I in ${subdirs}; \
Expand Down
3 changes: 2 additions & 1 deletion manuals/en/main/bareos-manual-main-reference.tex
Expand Up @@ -33,7 +33,8 @@
\usepackage{listings}
\usepackage{caption} % captionof
% mdframed does not work on openSUSE 12.2
%\usepackage{mdframed}
%\usepackage{mdframed}
\usepackage{refcheck}

\usepackage{bareos}

Expand Down

0 comments on commit d3bb854

Please sign in to comment.