\input docstrip.tex

\askforoverwritefalse

\keepsilent

\preamble
\endpreamble

\usedir{tex/latex/amscls}

\generate{
    \file{amsmidx.sty}{\from{amsmidx.dtx}{}}
}

\endbatchfile
