\input docstrip
\keepsilent
\askforoverwritefalse

\preamble
\endpreamble

\generate{%
  \file{template.sty}{\from{template.dtx}{package}}
  }

\endbatchfile
