\newif\ifsinglebibliography
\def\argsingle{single}
\ifx\lecturearg\argsingle
\def\refsectionmode{chapter}
\singlebibliographyfalse
\else
\def\refsectionmode{none}
\singlebibliographytrue
\fi

\documentclass[12pt]{scrreprt}

\usepackage[
backend=biber,
autolang=hyphen,
style=alphabetic,
citestyle=alphabetic,
giveninits=false,
refsection=\refsectionmode]{biblatex}

\addbibresource{biblatex-examples.bib}

\begin{document}

\ifsinglebibliography
\let\include\input
\fi

\include{chapter_one}
\include{chapter_two}
\include{chapter_three}
% \include{literature}

% debug code for getting the the current bib files by applying
% the key combination C-x C-e at the point behind the closing
% parenthesis
\iffalse
\begin{verbatim}
(reftex-get-bibfile-list)
\end{verbatim}
\fi

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-PDF-mode: t
%%% TeX-master: t
%%% End:
