\documentclass[a4paper]{article}
%\VignetteIndexEntry{Example with quine data}
%\VignettePackage{Countr} 
\usepackage{pdfpages}

\def\pdffile{./quine.pdf}

\begin{document}

\IfFileExists{\pdffile}{%
  \includepdf[fitpaper=true,pages=-]{\pdffile}}%
{\typeout{No file \pdffile}}%

\end{document}
