\input docstrip.tex
\askforoverwritefalse
\generate{%
  \file{diagram.sty}{\from{diagram.dtx}{style}}%
}
\endbatchfile
